Remove erronious IsGlobalUnicast check. (#845)
Fixes the issue raised at https://www.boundaryproject.io/docs/configuration/worker#complete-configuration-example
This commit is contained in:
1 parent
7cade6f8aa
commit
6580d85388
2 files changed
+3
-2
No files matched your search
@@ -264,8 +264,6 @@ func (c *Command) Run(args []string) int {
|
||||
errMsg = "an unspecified"
|
||||
case ip.IsMulticast():
|
||||
errMsg = "a multicast"
|
||||
case ip.IsGlobalUnicast():
|
||||
errMsg = "a global unicast"
|
||||
}
|
||||
if errMsg != "" {
|
||||
c.UI.Error(fmt.Sprintf("Controller address %q is invalid: cannot be %s address", controller, errMsg))
|
||||
|
||||
Reference in new issue
Block a user