mirror of
https://gitea.elkins.co/Networking/ccl.git
synced 2025-03-09 04:31:38 -05:00
show does not need connection
This commit is contained in:
parent
d58402ab6f
commit
10bb8b9d68
@ -49,7 +49,7 @@ execute the necessary podman commands.`,
|
||||
contMask = []string{"disabled"}
|
||||
}
|
||||
|
||||
requireConn := []string{"create", "pull", "recreate", "restart", "rm", "show", "start", "stop", "update"}
|
||||
requireConn := []string{"create", "pull", "recreate", "restart", "rm", "start", "stop", "update"}
|
||||
if slices.Contains(requireConn, cmd.Name()) {
|
||||
// connect to podman
|
||||
ConnectMust()
|
||||
|
Loading…
x
Reference in New Issue
Block a user