Display nice message on context creation (message taken from Moby cli)

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
Guillaume Tardif 2020-08-26 18:03:57 +02:00
parent 970ac218d3
commit ed395a1e64
3 changed files with 8 additions and 5 deletions

View file

@ -135,6 +135,7 @@ func createDockerContext(ctx context.Context, name string, contextType string, d
description,
data,
)
fmt.Printf("Successfully created %s context %q\n", contextType, name)
return result
}