diff options
author | cdoern <cbdoer23@g.holycross.edu> | 2022-05-03 22:26:43 -0400 |
---|---|---|
committer | cdoern <cbdoer23@g.holycross.edu> | 2022-05-06 15:59:06 -0400 |
commit | b58e7e7f11f99b22d68cbbf28c8d52ff10be482e (patch) | |
tree | 785bf750363dce3b51abadee5509f242c9bae45f /pkg/specgen/generate/container_create.go | |
parent | ab3e072a0c3d321fd12cbd1f6ef8e322c6d9214a (diff) | |
download | podman-b58e7e7f11f99b22d68cbbf28c8d52ff10be482e.tar.gz podman-b58e7e7f11f99b22d68cbbf28c8d52ff10be482e.tar.bz2 podman-b58e7e7f11f99b22d68cbbf28c8d52ff10be482e.zip |
play kube log tag handling
currently tags cause a panic due to an uninitialized map. Initialize the map
and add parsing to make sure we are only tagging with journald
resolves #13356
Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
Diffstat (limited to 'pkg/specgen/generate/container_create.go')
-rw-r--r-- | pkg/specgen/generate/container_create.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go index 8b9ed8ffe..88a452cbb 100644 --- a/pkg/specgen/generate/container_create.go +++ b/pkg/specgen/generate/container_create.go @@ -423,7 +423,6 @@ func createContainerOptions(rt *libpod.Runtime, s *specgen.SpecGenerator, pod *l options = append(options, libpod.WithMaxLogSize(s.LogConfiguration.Size)) } if len(s.LogConfiguration.Options) > 0 && s.LogConfiguration.Options["tag"] != "" { - // Note: I'm really guessing here. options = append(options, libpod.WithLogTag(s.LogConfiguration.Options["tag"])) } |