Skip to content

Commit

Permalink
Fix test failure based on code from main
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartkats-db committed Oct 5, 2024
1 parent 7911c67 commit 233e1be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bundle/config/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ func (r *Resources) AllResources() map[string]map[string]ConfigResource {
}
result["schemas"] = schemaResources

clusterResources := make(map[string]ConfigResource)
for key, schema := range r.Clusters {
clusterResources[key] = schema

Check failure on line 97 in bundle/config/resources.go

View workflow job for this annotation

GitHub Actions / validate-bundle-schema

cannot use schema (variable of type *resources.Cluster) as ConfigResource value in assignment: *resources.Cluster does not implement ConfigResource (missing method GetName)

Check failure on line 97 in bundle/config/resources.go

View workflow job for this annotation

GitHub Actions / tests (macos-latest)

cannot use schema (variable of type *resources.Cluster) as ConfigResource value in assignment: *resources.Cluster does not implement ConfigResource (missing method GetName) (compile)

Check failure on line 97 in bundle/config/resources.go

View workflow job for this annotation

GitHub Actions / tests (macos-latest)

cannot use schema (variable of type *resources.Cluster) as ConfigResource value in assignment: *resources.Cluster does not implement ConfigResource (missing method GetName) (compile)

Check failure on line 97 in bundle/config/resources.go

View workflow job for this annotation

GitHub Actions / tests (ubuntu-latest)

cannot use schema (variable of type *resources.Cluster) as ConfigResource value in assignment: *resources.Cluster does not implement ConfigResource (missing method GetName) (compile)

Check failure on line 97 in bundle/config/resources.go

View workflow job for this annotation

GitHub Actions / tests (ubuntu-latest)

cannot use schema (variable of type *resources.Cluster) as ConfigResource value in assignment: *resources.Cluster does not implement ConfigResource (missing method GetName) (compile)

Check failure on line 97 in bundle/config/resources.go

View workflow job for this annotation

GitHub Actions / tests (windows-latest)

cannot use schema (variable of type *resources.Cluster) as ConfigResource value in assignment: *resources.Cluster does not implement ConfigResource (missing method GetName) (compile)

Check failure on line 97 in bundle/config/resources.go

View workflow job for this annotation

GitHub Actions / tests (windows-latest)

cannot use schema (variable of type *resources.Cluster) as ConfigResource value in assignment: *resources.Cluster does not implement ConfigResource (missing method GetName) (compile)
}
result["clusters"] = clusterResources

return result
}

Expand Down

0 comments on commit 233e1be

Please sign in to comment.