mirror of
https://github.com/status-im/consul.git
synced 2025-02-18 00:27:04 +00:00
Correct the rtt -wan error message
This commit is contained in:
parent
3bf56f7fb4
commit
ff38fbc6a3
@ -97,7 +97,7 @@ func (c *RTTCommand) Run(args []string) int {
|
||||
parts1 := strings.Split(nodes[0], ".")
|
||||
parts2 := strings.Split(nodes[1], ".")
|
||||
if len(parts1) != 2 || len(parts2) != 2 {
|
||||
c.Ui.Error("Node names must be specified as <datacenter>.<node name> with -wan")
|
||||
c.Ui.Error("Node names must be specified as <node name>.<datacenter> with -wan")
|
||||
return 1
|
||||
}
|
||||
node1, dc1 := parts1[0], parts1[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user