Skip to content

Commit

Permalink
Improve handling of mirror renw (#2400)
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden authored Apr 9, 2024
1 parent 11f6005 commit 60c0cb3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,11 @@ func newMirrorRenewCmd() *cobra.Command {
if !v1manifest.IsExpirationError(perrs.Cause(err)) {
return err
}
fmt.Println(err)
fmt.Printf("Ignoring expiration error: %s", err)
}

if m == nil {
return errors.New("got nil manifest")
}

if days > 0 {
Expand Down

0 comments on commit 60c0cb3

Please sign in to comment.