From 37ec38ac5a087c794651731e4673ad0edf280481 Mon Sep 17 00:00:00 2001 From: Sam Arnold Date: Fri, 11 Mar 2022 15:12:34 -0500 Subject: [PATCH] fix: rename bucket id parameters to be explicit (#369) --- cmd/influx/replication.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/influx/replication.go b/cmd/influx/replication.go index df1ac20..17850e1 100644 --- a/cmd/influx/replication.go +++ b/cmd/influx/replication.go @@ -58,13 +58,13 @@ func newReplicationCreateCmd() cli.Command { Destination: ¶ms.RemoteID, }, &cli.StringFlag{ - Name: "local-bucket", + Name: "local-bucket-id", Usage: "ID of local bucket data should be replicated from", Required: true, Destination: ¶ms.LocalBucketID, }, &cli.StringFlag{ - Name: "remote-bucket", + Name: "remote-bucket-id", Usage: "ID of remote bucket data should be replicated to", Required: true, Destination: ¶ms.RemoteBucketID, @@ -160,7 +160,7 @@ func newReplicationListCmd() cli.Command { Destination: ¶ms.RemoteID, }, &cli.StringFlag{ - Name: "local-bucket", + Name: "local-bucket-id", Usage: "Filter results to only replication streams for a specific local bucket", Destination: ¶ms.LocalBucketID, }, @@ -209,7 +209,7 @@ func newReplicationUpdateCmd() cli.Command { Destination: ¶ms.RemoteID, }, &cli.StringFlag{ - Name: "remote-bucket", + Name: "remote-bucket-id", Usage: "New ID of remote bucket that data should be replicated to", Destination: ¶ms.RemoteBucketID, },