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

View File

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