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) {