Skip to content

Commit c8ab7fd

Browse files
committed
fix: bug that caused failure for resources outside the core (empty) API
group.
1 parent 80e3d34 commit c8ab7fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustrial-k8s-object-syncer/src/resource_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ impl ResourceControllerImpl {
561561
// Add type information required by server-side apply.
562562
let mut source = source.as_ref().clone();
563563
source.types = Some(TypeMeta {
564-
api_version: me.gvk.version.clone(),
564+
api_version: me.gvk.api_version(),
565565
kind: me.gvk.kind.clone(),
566566
});
567567
if let Some(sync_configurations) = sync_configurations {

0 commit comments

Comments
 (0)