mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
SOFTLAYER: Mark provider as unmaintained (#1080)
* Warn about Softlayer
This commit is contained in:
@@ -22,8 +22,8 @@ type softlayerProvider struct {
|
||||
}
|
||||
|
||||
var features = providers.DocumentationNotes{
|
||||
providers.CanUseSRV: providers.Can(),
|
||||
providers.CanGetZones: providers.Unimplemented(),
|
||||
providers.CanUseSRV: providers.Can(),
|
||||
}
|
||||
|
||||
func init() {
|
||||
@@ -31,6 +31,7 @@ func init() {
|
||||
}
|
||||
|
||||
func newReg(conf map[string]string, _ json.RawMessage) (providers.DNSServiceProvider, error) {
|
||||
fmt.Println("WARNING: THe SOFTLAYER provider is unmaintained: https://github.com/StackExchange/dnscontrol/issues/1079")
|
||||
s := session.New(conf["username"], conf["api_key"], conf["endpoint_url"], conf["timeout"])
|
||||
|
||||
if len(s.UserName) == 0 || len(s.APIKey) == 0 {
|
||||
|
Reference in New Issue
Block a user