Skip to content

Commit

Permalink
Rename remote bucket flag to bucket-url (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
jt-dd authored Sep 16, 2024
1 parent 7b23ffd commit 821bea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ func InitLocalDumpCmd(cmd *cobra.Command) {
}

func InitRemoteDumpCmd(cmd *cobra.Command) {
cmd.Flags().String("bucket", "", "Bucket to use to push k8s resources (e.g.: s3://<your_bucket>)")
viper.BindPFlag(config.CollectorFileBlobBucket, cmd.Flags().Lookup("bucket")) //nolint: errcheck
cmd.Flags().String("bucket-url", "", "Bucket to use to push k8s resources (e.g.: s3://<your_bucket>)")
viper.BindPFlag(config.CollectorFileBlobBucket, cmd.Flags().Lookup("bucket-url")) //nolint: errcheck

cmd.Flags().String("region", "", "Region to retrieve the configuration (only for s3) (e.g.: us-east-1)")
viper.BindPFlag(config.CollectorFileBlobRegion, cmd.Flags().Lookup("region")) //nolint: errcheck
Expand Down

0 comments on commit 821bea3

Please sign in to comment.