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:
Jeff Mitchell authored and GitHub committed 2021-01-02 19:49:39 -05:00
1 parent 7cade6f8aa
commit 6580d85388
2 files changed
+3 -2

No files matched your search

+3
View File
@@ -14,6 +14,9 @@ Canonical reference for changes, improvements, and bugfixes for Boundary.
([PR](https://github.com/hashicorp/boundary/pull/815))
### Bug Fixes
* servers: Fix erronious global unicast check that disallowed valid addresses
from being assigned ([PR](https://github.com/hashicorp/boundary/pull/845))
## 0.1.3
-2
View File
@@ -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))