Skip to content

Commit

Permalink
remove(autok3s): remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
rancher-sy-bot committed Aug 20, 2020
1 parent 338e104 commit 05461cd
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pkg/providers/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,3 @@ func Register(provider string) (Provider, error) {

return p, nil
}

func SupportedProviders(provider string) [][]string {
providers := [][]string{
{"alibaba", "yes"},
}
if provider == "" {
return providers
}
for _, ss := range providers {
if ss[0] == provider {
return [][]string{ss}
}
}

return [][]string{}
}

0 comments on commit 05461cd

Please # to comment.