Skip to content

Commit aa7b643

Browse files
authored
Merge pull request #4 from opengovern/feat-make-task
fix: fix resource types query
2 parents c9eea09 + a7c9128 commit aa7b643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discovery/task/run-task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func GetIntegrationsFromQuery(coreServiceClient coreClient.CoreServiceClient, pa
213213
}
214214

215215
func GetResourceTypesFromQuery(coreServiceClient coreClient.CoreServiceClient, params map[string]any) ([]ResourceType, error) {
216-
if v, ok := params["integrations_query"]; ok {
216+
if v, ok := params["resource_types_query"]; ok {
217217
if vv, ok := v.(string); !ok {
218218
return nil, fmt.Errorf("query id should be a string")
219219
} else {

0 commit comments

Comments
 (0)