Skip to content

Commit

Permalink
change logging for api discovery (#509)
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Suderman <andy@fairwinds.com>
  • Loading branch information
transient1 and sudermanjr authored Oct 11, 2023
1 parent 32f031b commit 0f1ca9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/discovery-api/discovery_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (cl *DiscoveryClient) GetApiResources() error {
klog.V(2).Infof("Retrieving : %s.%s.%s", g.Resource, g.Version, g.Group)
rs, err := ri.List(context.TODO(), metav1.ListOptions{})
if err != nil {
klog.Error("Failed to retrieve: ", g, err)
klog.V(2).Infof("Failed to retrieve: ", g, err)
continue
}

Expand Down

0 comments on commit 0f1ca9b

Please sign in to comment.