Clean up warnings in examples (#1628)

* Refactor examples to streamline code structure and improve readability

* Update LangVersion to 13.0 for improved compatibility
This commit is contained in:
Boshi Lian
2025-04-29 16:55:55 -07:00
committed by GitHub
parent 001189de77
commit ae79be6665
17 changed files with 335 additions and 446 deletions

View File

@@ -24,7 +24,7 @@ IKubernetes client = new Kubernetes(config);
// Read the list of pods contained in default namespace
var list = client.CoreV1.ListNamespacedPod("default");
// Print the name of pods
// Print the name of pods
foreach (var item in list.Items)
{
Console.WriteLine(item.Metadata.Name);