From a55fdbb49c94038a8e9b88dd876b175e32292697 Mon Sep 17 00:00:00 2001 From: Urvashi Mohnani Date: Tue, 9 Nov 2021 10:01:51 -0500 Subject: 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 --- cmd/podman/system/connection/list.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd/podman/system') 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", -- cgit v1.2.3-54-g00ecf