diff options
author | Urvashi Mohnani <umohnani@redhat.com> | 2021-11-09 10:01:51 -0500 |
---|---|---|
committer | Urvashi Mohnani <umohnani@redhat.com> | 2021-11-10 14:48:08 -0500 |
commit | a55fdbb49c94038a8e9b88dd876b175e32292697 (patch) | |
tree | 96da6bffe083aa8c22e9d549c36b08b3bebb7f12 /cmd/podman | |
parent | 4bf0146c2978960b8c4dc5a9844c4948effbcfd2 (diff) | |
download | podman-a55fdbb49c94038a8e9b88dd876b175e32292697.tar.gz podman-a55fdbb49c94038a8e9b88dd876b175e32292697.tar.bz2 podman-a55fdbb49c94038a8e9b88dd876b175e32292697.zip |
Print headers for system connection ls
Print out the headers even if the system connection list
is empty to match the behavior of other list commands.
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/system/connection/list.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/podman/system/connection/list.go b/cmd/podman/system/connection/list.go index a3290e3d6..f1f7657ad 100644 --- a/cmd/podman/system/connection/list.go +++ b/cmd/podman/system/connection/list.go @@ -53,10 +53,6 @@ func list(cmd *cobra.Command, _ []string) error { return err } - if len(cfg.Engine.ServiceDestinations) == 0 { - return nil - } - hdrs := []map[string]string{{ "Identity": "Identity", "Name": "Name", |