Skip to content

Commit

Permalink
fix(flag): incorrect behavior for deprected flag --clear-cache (#7281)
Browse files Browse the repository at this point in the history
  • Loading branch information
afdesk authored Jul 31, 2024
1 parent 49d5270 commit 2a0e529
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 2a0e529

Please sign in to comment.