From 564d23057cc61cf01f2558a016d11bb690eecabf Mon Sep 17 00:00:00 2001 From: Boshi Lian Date: Fri, 27 Oct 2023 18:43:52 -0700 Subject: [PATCH] fix crd code er (#1439) --- examples/customResource/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/customResource/Program.cs b/examples/customResource/Program.cs index 3898f31..726852a 100644 --- a/examples/customResource/Program.cs +++ b/examples/customResource/Program.cs @@ -92,11 +92,11 @@ namespace customResource // deleting the custom resource try { - myCr = await generic.DeleteNamespacedAsync( + var status = await generic.DeleteNamespacedAsync( myCr.Metadata.NamespaceProperty ?? "default", myCr.Metadata.Name).ConfigureAwait(false); - Console.WriteLine("Deleted the CR"); + Console.WriteLine($"Deleted the CR status: {status}"); } catch (Exception exception) {