summaryrefslogtreecommitdiff
path: root/pkg/spec/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/spec/parse.go')
-rw-r--r--pkg/spec/parse.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/spec/parse.go b/pkg/spec/parse.go
index dc4f50a3e..9b2dd1347 100644
--- a/pkg/spec/parse.go
+++ b/pkg/spec/parse.go
@@ -8,9 +8,9 @@ import (
"github.com/docker/go-units"
)
-// POD signifies a kernel namespace is being shared
+// Pod signifies a kernel namespace is being shared
// by a container with the pod it is associated with
-const POD = "pod"
+const Pod = "pod"
// weightDevice is a structure that holds device:weight pair
type weightDevice struct {
@@ -36,7 +36,7 @@ func IsNS(s string) bool {
// IsPod returns if the specified string is pod
func IsPod(s string) bool {
- return s == POD
+ return s == Pod
}
// Valid checks the validity of a linux namespace