Add command cluster update-peer-clusters - #18
Merged
Conversation
sijie
requested changes
Aug 30, 2019
Member
|
@zymap please rebase this pull request |
zymap
force-pushed
the
cluster_updatepeerclusters
branch
from
September 2, 2019 04:14
e57a55a to
a8eb115
Compare
Member
Author
|
@sijie done. |
sijie
reviewed
Sep 2, 2019
sijie
left a comment
Member
There was a problem hiding this comment.
overall looks good. but please improve the output description.
| out = append(out, successOut) | ||
|
|
||
| failOut := pulsar.Output{ | ||
| Desc: "output of doesn't specified a cluster name", |
Member
There was a problem hiding this comment.
the description here seems to be a bit weird to me. please talk to Yu or Jennifer to help you improve the output message here.
Member
Author
There was a problem hiding this comment.
Sure. @jennifer88huang @Anonymitaet Could you help me to improve the description?
There was a problem hiding this comment.
- The cluster name is not specified in the output.
or - The output does not specify a cluster name.
Option 1 is preferred.
Member
Author
|
@sijie @jennifer88huang PTAL. |
sijie
approved these changes
Sep 2, 2019
tisonkun
pushed a commit
to tisonkun/pulsar-client-go
that referenced
this pull request
Aug 15, 2023
Master issue: streamnative/pulsarctl#2 output : ``` USED FOR: This command is used for updating peer clusters. REQUIRED PERMISSION: This command requires super-user permissions. EXAMPLES: #updating the <cluster-name> peer clusters pulsarctl clusters update-peer-clusters -p cluster-a,cluster-b <cluster-name> OUTPUT: #normal output <cluster-name> peer clusters updated #output of doesn't specified a cluster name [✖] only one argument is allowed to be used as a name #output of cluster doesn't exist [✖] code: 404 reason: Cluster does not exist Usage: pulsarctl clusters update-peer-clusters [flags] Aliases: update-peer-clusters, upc Update peer clusters flags: -p, --peer-cluster stringArray Cluster to be registered as a peer-cluster of this cluster Common flags: -s, --admin-service-url string The admin web service url that pulsarctl connects to. (default "http://localhost:8080") -C, --color string toggle colorized logs (true,false,fabulous) (default "true") -h, --help help for this command -v, --verbose int set log level, use 0 to silence, 4 for debugging (default 3) Use 'pulsarctl clusters update-peer-clusters [command] --help' for more information about a command. ```
tisonkun
pushed a commit
to apache/pulsar-client-go
that referenced
this pull request
Aug 16, 2023
Master issue: streamnative/pulsarctl#2 output : ``` USED FOR: This command is used for updating peer clusters. REQUIRED PERMISSION: This command requires super-user permissions. EXAMPLES: #updating the <cluster-name> peer clusters pulsarctl clusters update-peer-clusters -p cluster-a,cluster-b <cluster-name> OUTPUT: #normal output <cluster-name> peer clusters updated #output of doesn't specified a cluster name [✖] only one argument is allowed to be used as a name #output of cluster doesn't exist [✖] code: 404 reason: Cluster does not exist Usage: pulsarctl clusters update-peer-clusters [flags] Aliases: update-peer-clusters, upc Update peer clusters flags: -p, --peer-cluster stringArray Cluster to be registered as a peer-cluster of this cluster Common flags: -s, --admin-service-url string The admin web service url that pulsarctl connects to. (default "http://localhost:8080") -C, --color string toggle colorized logs (true,false,fabulous) (default "true") -h, --help help for this command -v, --verbose int set log level, use 0 to silence, 4 for debugging (default 3) Use 'pulsarctl clusters update-peer-clusters [command] --help' for more information about a command. ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Master issue: #2
output :