mirror of https://github.com/docker/cli.git
8cb2456248
Refactor `RunCreate` slightly so that all three paths always produce the same
output, namely the name of the new context of `stdout` (for scripting) and the
success log message on `stderr`.
Validate by extending the existing unit tests to always check the output is as
expected.
Signed-off-by: Ian Campbell <ijc@docker.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
testdata | ||
cmd.go | ||
create.go | ||
create_test.go | ||
export-import_test.go | ||
export.go | ||
import.go | ||
inspect.go | ||
inspect_test.go | ||
list.go | ||
list_test.go | ||
options.go | ||
remove.go | ||
remove_test.go | ||
update.go | ||
update_test.go | ||
use.go | ||
use_test.go |