fix: rename bucket id parameters to be explicit (#369)

This commit is contained in:
Sam Arnold 2022-03-11 15:12:34 -05:00 committed by GitHub
parent 85a33adf71
commit 37ec38ac5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,13 +58,13 @@ func newReplicationCreateCmd() cli.Command {
Destination: &params.RemoteID,
},
&cli.StringFlag{
Name: "local-bucket",
Name: "local-bucket-id",
Usage: "ID of local bucket data should be replicated from",
Required: true,
Destination: &params.LocalBucketID,
},
&cli.StringFlag{
Name: "remote-bucket",
Name: "remote-bucket-id",
Usage: "ID of remote bucket data should be replicated to",
Required: true,
Destination: &params.RemoteBucketID,
@ -160,7 +160,7 @@ func newReplicationListCmd() cli.Command {
Destination: &params.RemoteID,
},
&cli.StringFlag{
Name: "local-bucket",
Name: "local-bucket-id",
Usage: "Filter results to only replication streams for a specific local bucket",
Destination: &params.LocalBucketID,
},
@ -209,7 +209,7 @@ func newReplicationUpdateCmd() cli.Command {
Destination: &params.RemoteID,
},
&cli.StringFlag{
Name: "remote-bucket",
Name: "remote-bucket-id",
Usage: "New ID of remote bucket that data should be replicated to",
Destination: &params.RemoteBucketID,
},