Skip to content

Commit

Permalink
chore: thanos client remove object-store. prefix (#14546)
Browse files Browse the repository at this point in the history
(cherry picked from commit 11c4fa2)
  • Loading branch information
ashwanthgoli authored and sandeepsukhani committed Oct 21, 2024
1 parent c349491 commit da93028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/storage/bucket/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ func (cfg *Config) RegisterFlags(f *flag.FlagSet) {
}

func (cfg *Config) RegisterFlagsWithPrefixAndDefaultDirectory(prefix, dir string, f *flag.FlagSet) {
cfg.StorageBackendConfig.RegisterFlagsWithPrefixAndDefaultDirectory(prefix+"object-store.", dir, f)
f.StringVar(&cfg.StoragePrefix, prefix+"object-store."+"storage-prefix", "", "Prefix for all objects stored in the backend storage. For simplicity, it may only contain digits and English alphabet letters.")
cfg.StorageBackendConfig.RegisterFlagsWithPrefixAndDefaultDirectory(prefix, dir, f)
f.StringVar(&cfg.StoragePrefix, prefix+"storage-prefix", "", "Prefix for all objects stored in the backend storage. For simplicity, it may only contain digits and English alphabet letters.")
}

func (cfg *Config) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet) {
Expand Down

0 comments on commit da93028

Please sign in to comment.