mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 01:50:25 +08:00
修复一处编译错误
This commit is contained in:
@@ -10,10 +10,6 @@ import (
|
|||||||
// FindProvider 查找服务商实例
|
// FindProvider 查找服务商实例
|
||||||
func FindProvider(providerType ProviderType, providerId int64) ProviderInterface {
|
func FindProvider(providerType ProviderType, providerId int64) ProviderInterface {
|
||||||
switch providerType {
|
switch providerType {
|
||||||
case ProviderTypeTencentDNS:
|
|
||||||
return &TencentDNSProvider{
|
|
||||||
ProviderId: providerId,
|
|
||||||
}
|
|
||||||
case ProviderTypeDNSPod:
|
case ProviderTypeDNSPod:
|
||||||
return &DNSPodProvider{
|
return &DNSPodProvider{
|
||||||
ProviderId: providerId,
|
ProviderId: providerId,
|
||||||
|
|||||||
Reference in New Issue
Block a user