diff --git a/examples/customResource/Program.cs b/examples/customResource/Program.cs index 3898f3134..726852a7f 100644 --- a/examples/customResource/Program.cs +++ b/examples/customResource/Program.cs @@ -92,11 +92,11 @@ private static async Task Main(string[] args) // 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) {