Merge pull request #1793 from cleung2010/rrt-error-msg

Correct the rtt -wan error message
This commit is contained in:
James Phillips 2016-03-04 15:21:16 -08:00
commit d9e79f1358
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]