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 and actions-user committed Jul 31, 2024
1 parent f61725c commit 3ae83a9
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 3ae83a9

Please sign in to comment.