From 10d74fad187f861b174e032cae74d86aa9549ff3 Mon Sep 17 00:00:00 2001 From: marshtompsxd Date: Wed, 6 Sep 2023 11:22:14 -0500 Subject: [PATCH] Fix a bug in the shim layer (#237) Signed-off-by: Xudong Sun --- src/shim_layer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shim_layer/mod.rs b/src/shim_layer/mod.rs index 6414f0cd2..e2d6fc91d 100644 --- a/src/shim_layer/mod.rs +++ b/src/shim_layer/mod.rs @@ -175,7 +175,7 @@ where println!("Create failed with error: {}", err); }, std::result::Result::Ok(obj) => { - kube_resp = KubeAPIResponse::GetResponse(KubeGetResponse{ + kube_resp = KubeAPIResponse::CreateResponse(KubeCreateResponse{ res: std::result::Result::Ok(DynamicObject::from_kube(obj)), }); println!("Create done");