Skip to content

Commit 656138a

Browse files
committed
chore: improve filter logic
1 parent 5150ed9 commit 656138a

File tree

1 file changed

+0
-4
lines changed
  • internal/pkg/service/k8s

1 file changed

+0
-4
lines changed

internal/pkg/service/k8s/pod.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ func (i *syncPod) commonCheck(in *v1.Pod) error {
107107
ok bool
108108
)
109109

110-
// 检查PodPhase
111-
if in.Status.Phase != v1.PodRunning {
112-
return errors.New("pod is not running")
113-
}
114110
// 检查appName
115111
if appName, ok = in.Labels["appName"]; !ok || appName == "" {
116112
return errors.New("appName is empty")

0 commit comments

Comments
 (0)