summaryrefslogtreecommitdiff
path: root/vendor/go.uber.org/atomic
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2020-03-30 02:53:43 +0200
committerAlban Bedel <albeu@free.fr>2020-04-03 02:47:30 +0200
commit77d19f847a7488ccaccae769cf6b27f880ebe07b (patch)
tree140a586c612398967704180f8edd9ca9712c5355 /vendor/go.uber.org/atomic
parentccf0e0dd042d8a8d23dd0021ee267e7c9da9ff4a (diff)
downloadpodman-77d19f847a7488ccaccae769cf6b27f880ebe07b.tar.gz
podman-77d19f847a7488ccaccae769cf6b27f880ebe07b.tar.bz2
podman-77d19f847a7488ccaccae769cf6b27f880ebe07b.zip
If possible use the pod name when creating a network
When creating a network we pass down a name which end up in the K8S_POD_NAME argument to cni plugins. Currently this name is always filled with the container name, so for pods it is the name of the infra container, not really what one would expect. This mess up with the dnsname plugin as it doesn't receive the pod name in K8S_POD_NAME. To fix this pass the pod name when the container is part of a pod, otherwise use the container name like before. Signed-off-by: Alban Bedel <albeu@free.fr> --- v2: Only call GetPod() when a pod id is set
Diffstat (limited to 'vendor/go.uber.org/atomic')
0 files changed, 0 insertions, 0 deletions