From 636b26593353959fabc09982878d2cdb14cce5d4 Mon Sep 17 00:00:00 2001 From: weibaohui Date: Sat, 25 Nov 2023 11:18:12 +0800 Subject: [PATCH] clean --- BlazorApp/Service/impl/PodService.cs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/BlazorApp/Service/impl/PodService.cs b/BlazorApp/Service/impl/PodService.cs index a28d7736..161aca6d 100644 --- a/BlazorApp/Service/impl/PodService.cs +++ b/BlazorApp/Service/impl/PodService.cs @@ -26,14 +26,6 @@ public IList ListByNodeName(string nodeName) .ToList(); } - private IList ListPodByNamespace(string ns) - { - var pods = List(); - - - return pods.Where(x => x.Namespace() == ns).ToList(); - } - // public async Task DeletePod(string ns, string name) @@ -90,10 +82,6 @@ public async Task Logs(string podNs, string podName, string containerNam // await stream.CopyToAsync(Console.OpenStandardOutput()); } - public Task> ListItemsByNamespaceAsync(string ns) - { - return Task.FromResult>(ListPodByNamespace(ns)); - } public IEnumerable> NodePodsNum() { @@ -109,4 +97,4 @@ public IEnumerable> NodePodsNum() return tuples; } } -} \ No newline at end of file +}