Skip to content

Commit 33b90ba

Browse files
committed
last ci fixes
1 parent 4e8b71b commit 33b90ba

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/configs/mlc-config.json

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
},
3030
{
3131
"pattern": "^https://www.duckdns.org/$"
32+
},
33+
{
34+
"pattern": "^https://my.vultr.com/settings/#settingsapi$"
3235
}
3336
],
3437
"timeout": "20s",

internal/provider/providers/vultr/provider.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ func validateSettings(domain, apiKey string) (err error) {
5959
return fmt.Errorf("%w: %w", errors.ErrDomainNotValid, err)
6060
}
6161

62-
switch {
63-
case apiKey == "":
62+
if apiKey == "" {
6463
return fmt.Errorf("%w", errors.ErrAPIKeyNotSet)
6564
}
6665
return nil

0 commit comments

Comments
 (0)