Update resources.go

This commit is contained in:
Robert Brennan
2021-07-23 15:07:45 -04:00
committed by GitHub
parent d172d8e18b
commit f03ee4cf9f
+1 -1
View File
@@ -274,7 +274,7 @@ func CreateResourceProviderFromAPI(ctx context.Context, kube kubernetes.Interfac
var additionalKinds []conf.TargetKind
for _, check := range allChecks {
neededKinds := []conf.TargetKind{check.Target}
for key := range check.AdditionalSchemas {
for key := range check.AdditionalSchemaStrings {
neededKinds = append(neededKinds, conf.TargetKind(key))
}
for _, kind := range neededKinds {