diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2021-08-23 12:52:47 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2021-08-23 17:23:17 -0400 |
commit | 02e59c6683d645bd579d01f4cf6efb3647d366a5 (patch) | |
tree | 8b9f83168bfcdac85572b2ea49dc711547a5aa85 /cmd/podman/parse/net_test.go | |
parent | d1137664fe799bb9ca84ed9e4e0d01db6df77bad (diff) | |
download | podman-02e59c6683d645bd579d01f4cf6efb3647d366a5.tar.gz podman-02e59c6683d645bd579d01f4cf6efb3647d366a5.tar.bz2 podman-02e59c6683d645bd579d01f4cf6efb3647d366a5.zip |
utils.RunUnderSystemdScope(): always close Conn
Make sure we close our private connection to the bus, even if we're not
successful in in using it to ask systemd to move a unit's processes to a
specific control group.
[NO TESTS NEEDED]
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Diffstat (limited to 'cmd/podman/parse/net_test.go')
0 files changed, 0 insertions, 0 deletions