chore: remove default false values when calling CallExecCommand

This commit is contained in:
Jose Diaz-Gonzalez
2024-02-12 20:07:43 -05:00
parent 8b9dcd2242
commit 047a3c00f5
24 changed files with 20 additions and 55 deletions

View File

@@ -62,7 +62,6 @@ func isContainerInNetwork(containerID string, networkName string) bool {
Command: common.DockerBin(),
Args: []string{"container", "inspect", "--format", "{{range $net, $v := .NetworkSettings.Networks}}{{println $net}}{{end}}", containerID},
CaptureOutput: true,
StreamStdio: false,
})
if err != nil {
@@ -133,7 +132,6 @@ func listNetworks() ([]string, error) {
Command: common.DockerBin(),
Args: []string{"network", "ls", "--format", "{{ .Name }}"},
CaptureOutput: true,
StreamStdio: false,
})
if err != nil {
common.LogVerboseQuiet(result.StderrContents())