Skip to content

Commit c122a22

Browse files
committed
Remove duplicate container list
1 parent 4226f20 commit c122a22

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

cmd/devcontainer/devcontainer.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ func createExecCommand() *cobra.Command {
111111
}
112112
if argDevcontainerName != "" {
113113
containerIDOrName := argDevcontainerName
114-
devcontainerList, err := devcontainers.ListDevcontainers()
115-
if err != nil {
116-
return err
117-
}
118114

119115
// Get container ID
120116
for _, devcontainer := range devcontainerList {

0 commit comments

Comments
 (0)