Skip to content

Commit

Permalink
fix(flag): incorrect behavior for deprected flag --clear-cache [bac…
Browse files Browse the repository at this point in the history
…kport: release/v0.54] (#7285)

Co-authored-by: afdesk <work@afdesk.com>
  • Loading branch information
aqua-bot and afdesk committed Jul 31, 2024
1 parent f61725c commit 334a1c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/flag/cache_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ type CacheOptions struct {
// NewCacheFlagGroup returns a default CacheFlagGroup
func NewCacheFlagGroup() *CacheFlagGroup {
return &CacheFlagGroup{
ClearCache: ClearCacheFlag.Clone(),
CacheBackend: CacheBackendFlag.Clone(),
CacheTTL: CacheTTLFlag.Clone(),
RedisTLS: RedisTLSFlag.Clone(),
Expand Down

0 comments on commit 334a1c2

Please sign in to comment.