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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user