We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2b54da commit 564d230Copy full SHA for 564d230
examples/customResource/Program.cs
@@ -92,11 +92,11 @@ private static async Task Main(string[] args)
92
// deleting the custom resource
93
try
94
{
95
- myCr = await generic.DeleteNamespacedAsync<CResource>(
+ var status = await generic.DeleteNamespacedAsync<V1Status>(
96
myCr.Metadata.NamespaceProperty ?? "default",
97
myCr.Metadata.Name).ConfigureAwait(false);
98
99
- Console.WriteLine("Deleted the CR");
+ Console.WriteLine($"Deleted the CR status: {status}");
100
}
101
catch (Exception exception)
102
0 commit comments