Browse code

fix invalid typo in error message

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
(cherry picked from commit 2322ccb8fff46a4d3a84f3ef214cb473816374af)

Justin Cormack authored on 2016/06/17 23:27:54
Showing 1 changed files
... ...
@@ -35,12 +35,12 @@ func (a *NodeAddrOption) String() string {
35 35
 // Set the value for this flag
36 36
 func (a *NodeAddrOption) Set(value string) error {
37 37
 	if !strings.Contains(value, ":") {
38
-		return fmt.Errorf("Invalud url, a host and port are required")
38
+		return fmt.Errorf("Invalid url, a host and port are required")
39 39
 	}
40 40
 
41 41
 	parts := strings.Split(value, ":")
42 42
 	if len(parts) != 2 {
43
-		return fmt.Errorf("Invalud url, too many colons")
43
+		return fmt.Errorf("Invalid url, too many colons")
44 44
 	}
45 45
 
46 46
 	a.addr = value