Skip to content

Commit

Permalink
include group in apiVersion in plugin_collector
Browse files Browse the repository at this point in the history
Signed-off-by: Trevor McGuire <[email protected]>
  • Loading branch information
trevormcguire committed Jun 7, 2024
1 parent 25c3596 commit a1ad308
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 a1ad308

Please sign in to comment.