DockerCLI/cli/command/network
Rob Murray e8bfedd266 Fix TestNetworkConnectWithFlags
The test didn't do anything useful...
- Despite its name it used newCreateCommand() instead of
  newConnectCommand() with create flags/options instead of connect.
- There was no fake networkCreateFunc(), so the result of the 'connect'
  wasn't checked.
- The fake networkConnectFunc() was never called, so didn't spot the
  problem.

Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-05-08 14:13:59 +01:00
..
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
client_test.go fix: cli prompt termination exit code 2024-03-04 15:26:17 +01:00
cmd.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
connect.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
connect_test.go Fix TestNetworkConnectWithFlags 2024-05-08 14:13:59 +01:00
create.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
create_test.go golangci-lint: revive: enable empty-lines 2023-11-20 19:52:45 +01:00
disconnect.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
disconnect_test.go cli/command/context: remove deprecated io/ioutil 2022-02-25 15:42:05 +01:00
formatter.go golangci-lint: enable perfsprint linter 2023-11-20 16:18:19 +01:00
formatter_test.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
inspect.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
list.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
list_test.go cli/command: remove dot-imports and unhandled errors 2023-10-23 15:21:47 +02:00
prune.go chore: remove backticks and resolve linting issues 2024-04-02 15:54:29 +02:00
prune_test.go feat: standardize error for prompt 2024-03-26 14:11:55 +01:00
remove.go fix: cli prompt termination exit code 2024-03-04 15:26:17 +01:00
remove_test.go feat: standardize error for prompt 2024-03-26 14:11:55 +01:00