Skip to content

Commit

Permalink
Update pkg/resources/resources.go
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Balogh <[email protected]>
  • Loading branch information
pablochacin and javaducky authored Oct 12, 2022
1 parent 56aa4ca commit 3702ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func NewFromClient(ctx context.Context, dynamic dynamic.Interface) *Client {
}
}

// getResources maps kinds to api resources
// getResource maps kinds to api resources
func (c *Client) getResource(kind string, namespace string) (dynamic.ResourceInterface, error) {
kindMapping := map[string]schema.GroupVersionResource{
"ConfigMap": {Group: "", Version: "v1", Resource: "configmaps"},
Expand Down

0 comments on commit 3702ed0

Please sign in to comment.