-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Validate when multiple providers are defined
resolves #448 - `controller_test.go` was missing NS1EnabledKey in the cleanup() and configureEnvVar() - rewrite depresolver.getEdgeDNSType(), the function now return one more DNSType: `DNSTypeError` indicating, more than one providers were resolved. Depresolver generates error if finds that state. `DNSTypeNoEdgeDNS` is returned when no provider is recognised and is valid state. - cover functionality by depresolver tests. Signed-off-by: kuritka <kuritka@gmail.com>
- Loading branch information
Showing
5 changed files
with
88 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters