Correct the rtt -wan error message

This commit is contained in:
Calvin Leung Huang 2016-03-04 16:27:30 -05:00
parent c33fb53781
commit f6c1ffa943
1 changed files with 1 additions and 1 deletions

View File

@ -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]