Skip to content

Commit

Permalink
fix: scanAll typo
Browse files Browse the repository at this point in the history
Signed-off-by: tao.yang <tao.yang@daocloud.io>
  • Loading branch information
ty-dc committed Oct 10, 2024
1 parent 50dcb53 commit c6be663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/gcmanager/scanAll_IPPool.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (s *SpiderGC) executeScanAll(ctx context.Context) {
flagGCEndpoint = false
goto GCIP
} else {
scanAllLogger.Sugar().Errorf("pod %s/%s does not exist and failed to get endpoint %s/%s, ignore handle IP %s and endpoint, error: '%v'", podNS, podName, podNS, podName, poolIP, err)
scanAllLogger.Sugar().Errorf("pod %s/%s does not exist and failed to get endpoint %s/%s, ignore handle IP %s and endpoint, error: '%v'", podNS, podName, podNS, podName, poolIP, endpointErr)
continue
}
} else {
Expand All @@ -157,7 +157,7 @@ func (s *SpiderGC) executeScanAll(ctx context.Context) {
}
}
} else {
scanAllLogger.Sugar().Errorf("failed to get pod from kubernetes, error '%v'", err)
scanAllLogger.Sugar().Errorf("failed to get pod from kubernetes, error '%v'", podErr)
continue
}
}
Expand Down

0 comments on commit c6be663

Please sign in to comment.