Skip to content

Commit

Permalink
Update controller.go (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren authored Oct 4, 2022
1 parent e5e18ba commit 44d96be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func GetTopController(ctx context.Context, dynamicClient dynamic.Interface, rest
}

func cacheAllObjectsOfKind(ctx context.Context, apiVersion, kind, namespace string, dynamicClient dynamic.Interface, restMapper meta.RESTMapper, objectCache map[string]unstructured.Unstructured) error {
fmt.Println("cache all", apiVersion, kind)
log.GetLogger().V(9).Info("cache all", apiVersion, kind)
fqKind := schema.FromAPIVersionAndKind(apiVersion, kind)
mapping, err := restMapper.RESTMapping(fqKind.GroupKind(), fqKind.Version)
if err != nil {
Expand Down

0 comments on commit 44d96be

Please sign in to comment.