Skip to content

Commit

Permalink
change default value to false
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Jun 6, 2023
1 parent 19c4516 commit 623dc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/internal/option/referrers.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type Referrers struct {

// ApplyFlags applies flags to a command flag set.
func (opts *Referrers) ApplyFlags(fs *pflag.FlagSet) {
fs.BoolVarP(&opts.SkipDeleteReferrers, "skip-delete-referrers", "", true, "skip deleting old referrers index, only work on registry when referrers API is not supported")
fs.BoolVarP(&opts.SkipDeleteReferrers, "skip-delete-referrers", "", false, "skip deleting old referrers index, only work on registry when referrers API is not supported")
}

// SetReferrersGC sets the referrers GC option for the passed-in target.
Expand Down

0 comments on commit 623dc99

Please sign in to comment.