blob: f653492840f5b31a6f6058c52dd80e3fa7a23cd2 [file] [log] [blame]
Serge Bazanskif12bedf2021-01-15 16:58:50 +01001Copyright 2020 The Monogon Project Authors.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14
15
16From 9fc5e36f4e0bd691fc502372ebf837d24fbe5297 Mon Sep 17 00:00:00 2001
17From: Serge Bazanski <serge@nexantic.com>
18Date: Fri, 15 Jan 2021 16:22:33 +0100
19Subject: [PATCH] Build against new opencontainers runtime-specs
20Company: nexantic GmbH
21
22---
23 runsc/container/container.go | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26diff --git a/runsc/container/container.go b/runsc/container/container.go
27index 418a27beb..8508ded5a 100644
28--- a/runsc/container/container.go
29+++ b/runsc/container/container.go
30@@ -747,7 +747,7 @@ func (c *Container) State() specs.State {
31 return specs.State{
32 Version: specs.Version,
33 ID: c.ID,
34- Status: c.Status.String(),
35+ Status: specs.ContainerState(c.Status.String()),
36 Pid: c.SandboxPid(),
37 Bundle: c.BundleDir,
38 }
39--
402.26.2
41