summaryrefslogtreecommitdiff
path: root/libpod/pod.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/pod.go')
-rw-r--r--libpod/pod.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/pod.go b/libpod/pod.go
index 4f5521ccb..ecef8554e 100644
--- a/libpod/pod.go
+++ b/libpod/pod.go
@@ -45,6 +45,7 @@ func newPod(lockDir string, runtime *Runtime) (*Pod, error) {
pod := new(Pod)
pod.id = stringid.GenerateNonCryptoID()
pod.name = namesgenerator.GetRandomName(0)
+ pod.labels = make(map[string]string)
pod.runtime = runtime
// Path our lock file will reside at