From 3a0d3799a99c264c91e9a736d3f0f8d3cc76760c Mon Sep 17 00:00:00 2001 From: Jie Ma Date: Thu, 11 Jul 2024 10:44:51 +0800 Subject: [PATCH] kubelet jfs po output need a \n when no pod Signed-off-by: Jie Ma --- pkg/list/pod.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/list/pod.go b/pkg/list/pod.go index 3160e0e..848e4ae 100644 --- a/pkg/list/pod.go +++ b/pkg/list/pod.go @@ -134,7 +134,7 @@ func (aa *AppAnalyzer) JfsPod() error { } if len(appPods) == 0 { - fmt.Printf("No pod found using juicefs PVC in %s namespace.", aa.ns) + fmt.Printf("No pod found using juicefs PVC in %s namespace.\n", aa.ns) return nil }