summaryrefslogtreecommitdiffhomepage
path: root/runsc/specutils/cri.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/specutils/cri.go')
-rw-r--r--runsc/specutils/cri.go15
1 files changed, 14 insertions, 1 deletions
diff --git a/runsc/specutils/cri.go b/runsc/specutils/cri.go
index 5318ec1fa..9c5877cd5 100644
--- a/runsc/specutils/cri.go
+++ b/runsc/specutils/cri.go
@@ -1,3 +1,17 @@
+// Copyright 2018 The gVisor 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.
+
package specutils
import (
@@ -21,7 +35,6 @@ const (
// is not the first container in the sandbox.
ContainerdSandboxIDAnnotation = "io.kubernetes.cri.sandbox-id"
-
// CRIOContainerTypeAnnotation is the OCI annotation set by
// CRI-O to indicate whether the container to create should have
// its own sandbox or a container within an existing sandbox.