Skip to content

Commit

Permalink
Merge pull request #19976 from wozniakjan/bz1461324/verify-signature
Browse files Browse the repository at this point in the history
Bug 1461324 - Log image changes on verify-image-signature without --save
  • Loading branch information
openshift-merge-robot authored Jun 20, 2018
2 parents 7998c15 + 0ce4284 commit f5b16cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/oc/admin/image/verify-signature.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ func (o VerifyImageSignatureOptions) Run() error {
if o.Save || o.RemoveAll {
_, err := o.ImageClient.Images().Update(img)
return err
} else {
fmt.Fprintf(o.Out, "Neither --save nor --remove-all were passed, image %q not updated to %v\n", o.InputImage, img)
}
return nil
}
Expand Down

0 comments on commit f5b16cb

Please sign in to comment.