Skip to content

Commit

Permalink
Log image changes on verify-signature without --save
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wozniak committed Jun 12, 2018
1 parent 5e0bfba commit 0ce4284
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 @@ -245,6 +245,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 0ce4284

Please sign in to comment.