Skip to content

Commit

Permalink
fix crd code er
Browse files Browse the repository at this point in the history
  • Loading branch information
tg123 committed Oct 27, 2023
1 parent f55d1fa commit 320f06e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/customResource/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ private static async Task Main(string[] args)
// deleting the custom resource
try
{
myCr = await generic.DeleteNamespacedAsync<CResource>(
var status = await generic.DeleteNamespacedAsync<V1Status>(
myCr.Metadata.NamespaceProperty ?? "default",
myCr.Metadata.Name).ConfigureAwait(false);

Console.WriteLine("Deleted the CR");
Console.WriteLine($"Deleted the CR status: {status}");
}
catch (Exception exception)
{
Expand Down

0 comments on commit 320f06e

Please sign in to comment.