mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Rename provider handles to *Provider (#914)
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
package activedir
|
||||
|
||||
func (c *activedirAPI) getRecords(domainname string) ([]byte, error) {
|
||||
func (c *activedirProvider) getRecords(domainname string) ([]byte, error) {
|
||||
if !c.fake {
|
||||
panic("Can not happen: PowerShell on non-windows")
|
||||
}
|
||||
return c.readZoneDump(domainname)
|
||||
}
|
||||
|
||||
func (c *activedirAPI) powerShellDoCommand(command string, shouldLog bool) error {
|
||||
func (c *activedirProvider) powerShellDoCommand(command string, shouldLog bool) error {
|
||||
if !c.fake {
|
||||
panic("Can not happen: PowerShell on non-windows")
|
||||
}
|
||||
|
Reference in New Issue
Block a user