c8d/push: Add missing message about repository
Add "The push referers to repository X" message which is present in the push output when using the graphdrivers. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
parent
babf907bfd
commit
7f281907dd
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ import (
|
|||
// repository on the same registry.
|
||||
func (i *ImageService) PushImage(ctx context.Context, sourceRef reference.Named, metaHeaders map[string][]string, authConfig *registry.AuthConfig, outStream io.Writer) (retErr error) {
|
||||
out := streamformatter.NewJSONProgressOutput(outStream, false)
|
||||
progress.Messagef(out, "", "The push refers to repository [%s]", sourceRef.Name())
|
||||
|
||||
if _, tagged := sourceRef.(reference.Tagged); !tagged {
|
||||
if _, digested := sourceRef.(reference.Digested); !digested {
|
||||
|
|
Loading…
Add table
Reference in a new issue