mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-06 13:14:25 +08:00
SOFTLAYER: Mark provider as unmaintained (#1080)
* Warn about Softlayer
This commit is contained in:
parent
21e85e6528
commit
56766f93a9
2 changed files with 7 additions and 2 deletions
|
@ -7,6 +7,10 @@ jsId: SOFTLAYER
|
|||
|
||||
# SoftLayer DNS Provider
|
||||
|
||||
NOTE: This provider is currently has no maintainer. We are looking for
|
||||
a volunteer. If this provider breaks it may be disabled or removed if
|
||||
it can not be easily fixed.
|
||||
|
||||
## Configuration
|
||||
To authenticate with SoftLayer requires at least a `username` and `api_key` for authentication. It can also optionally take a `timeout` and `endpoint_url` parameter however these are optional and will use standard defaults if not provided.
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue