Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit c1d7662

Browse files
committed
fix(plugins/plugin-kubectl): kubectl delete poller may get stuck Green
Fixes #6436
1 parent bf20b03 commit c1d7662

File tree

1 file changed

+1
-1
lines changed
  • plugins/plugin-kubectl/src/controller/kubectl

1 file changed

+1
-1
lines changed

plugins/plugin-kubectl/src/controller/kubectl/status.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class StatusPoller implements Abortable {
296296
statusAttr.value = newStatusAttr ? newStatusAttr.value : 'Ready'
297297

298298
if (isReady) {
299-
statusAttr.css = TrafficLight.Green
299+
statusAttr.css = this.finalState === FinalState.OnlineLike ? TrafficLight.Green : TrafficLight.Red
300300
}
301301

302302
this.pusher.update(rowForUpdate)

0 commit comments

Comments
 (0)