Skip to content

Commit

Permalink
Different icon for starting container vs. one that is healthy (#4436)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft authored Dec 19, 2024
1 parent 62dcfc5 commit c64c35d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tree/containers/ContainerTreeItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ export class ContainerTreeItem extends ToolTipParentTreeItem implements MultiSel
public get iconPath(): vscode.ThemeIcon {
if (this._item.status?.includes('(unhealthy)')) {
return new vscode.ThemeIcon('warning', new vscode.ThemeColor('problemsWarningIcon.foreground'));
} else if (this._item.status?.includes('(health: starting)')) {
return new vscode.ThemeIcon('debug-rerun', new vscode.ThemeColor('debugIcon.startForeground'));
} else {
return getContainerStateIcon(this._item.state);
}
Expand Down

0 comments on commit c64c35d

Please sign in to comment.