| Copyright 2020 The Monogon Project Authors. | 
 |  | 
 | Licensed under the Apache License, Version 2.0 (the "License"); | 
 | you may not use this file except in compliance with the License. | 
 | You may obtain a copy of the License at | 
 |  | 
 |   http://www.apache.org/licenses/LICENSE-2.0 | 
 |  | 
 | Unless required by applicable law or agreed to in writing, software | 
 | distributed under the License is distributed on an "AS IS" BASIS, | 
 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
 | See the License for the specific language governing permissions and | 
 | limitations under the License. | 
 |  | 
 |  | 
 | From 9fc5e36f4e0bd691fc502372ebf837d24fbe5297 Mon Sep 17 00:00:00 2001 | 
 | From: Serge Bazanski <serge@nexantic.com> | 
 | Date: Fri, 15 Jan 2021 16:22:33 +0100 | 
 | Subject: [PATCH] Build against new opencontainers runtime-specs | 
 | Company: nexantic GmbH | 
 |  | 
 | --- | 
 |  runsc/container/container.go | 2 +- | 
 |  1 file changed, 1 insertion(+), 1 deletion(-) | 
 |  | 
 | diff --git a/runsc/container/container.go b/runsc/container/container.go | 
 | index 418a27beb..8508ded5a 100644 | 
 | --- a/runsc/container/container.go | 
 | +++ b/runsc/container/container.go | 
 | @@ -747,7 +747,7 @@ func (c *Container) State() specs.State { | 
 |  	return specs.State{ | 
 |  		Version: specs.Version, | 
 |  		ID:      c.ID, | 
 | -		Status:  c.Status.String(), | 
 | +		Status:  specs.ContainerState(c.Status.String()), | 
 |  		Pid:     c.SandboxPid(), | 
 |  		Bundle:  c.BundleDir, | 
 |  	} | 
 | --  | 
 | 2.26.2 | 
 |  |