Skip to content

Commit

Permalink
include group in apiVersion in plugin_collector (#5457)
Browse files Browse the repository at this point in the history
Signed-off-by: Trevor McGuire <[email protected]>
  • Loading branch information
trevormcguire authored Jun 17, 2024
1 parent 791471c commit de415af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (r *ResourceLevelMonitor) collect(ctx context.Context) {
list := metav1.PartialObjectMetadataList{
TypeMeta: metav1.TypeMeta{
Kind: r.gvk.Kind,
APIVersion: r.gvk.Version,
APIVersion: r.gvk.GroupVersion().String(),
},
}
if err := r.cache.List(ctx, &list); err != nil {
Expand Down

0 comments on commit de415af

Please sign in to comment.