File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
internal/controller/config Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ func (c *Config) Validate() error {
133133
134134func validateProvider (config ProviderConfig ) error {
135135 switch config .Type {
136- case ProviderTypeStandalone , ProviderTypeAPISIX :
136+ case ProviderTypeStandalone , ProviderTypeAPISIX , ProviderTypePingSIX :
137137 if config .SyncPeriod .Duration <= 0 {
138138 return fmt .Errorf ("sync_period must be greater than 0 for standalone provider" )
139139 }
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ type ProviderType string
2626const (
2727 ProviderTypeStandalone ProviderType = "apisix-standalone"
2828 ProviderTypeAPISIX ProviderType = "apisix"
29+ ProviderTypePingSIX ProviderType = "pingsix"
2930)
3031
3132const (
You can’t perform that action at this time.
0 commit comments