Add in formatting pre-check. (#431)
This commit is contained in:
@@ -14,7 +14,8 @@ namespace logs
|
||||
Console.WriteLine("Starting Request!");
|
||||
|
||||
var list = client.ListNamespacedPod("default");
|
||||
if (list.Items.Count == 0) {
|
||||
if (list.Items.Count == 0)
|
||||
{
|
||||
Console.WriteLine("No pods!");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user