summaryrefslogtreecommitdiff
path: root/test/e2e/pod_start_test.go
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-02-04 19:41:30 +0100
committerPaul Holzinger <paul.holzinger@web.de>2021-02-04 19:41:30 +0100
commit5c6ab3075e8fbf8fea7fbb5249189a0216400c41 (patch)
tree61b666475a6abc2317f413b94ef0b5026e86b917 /test/e2e/pod_start_test.go
parent4e1bcf30f3a519490f58d66bc0aef16676f61ae8 (diff)
downloadpodman-5c6ab3075e8fbf8fea7fbb5249189a0216400c41.tar.gz
podman-5c6ab3075e8fbf8fea7fbb5249189a0216400c41.tar.bz2
podman-5c6ab3075e8fbf8fea7fbb5249189a0216400c41.zip
Fix podman network disconnect wrong NetworkStatus number
The allocated `tmpNetworkStatus` must be allocated with the length 0. Otherwise append would add new elements to the end of the slice and not at the beginning of the allocated memory. This caused inspect to fail since the number of networks did not matched the number of network statuses. Fixes #9234 Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'test/e2e/pod_start_test.go')
0 files changed, 0 insertions, 0 deletions