Skip to content

Commit

Permalink
Merge pull request #1947 from HubSpot/leader_flag
Browse files Browse the repository at this point in the history
Add zk leader indicator on status ui
  • Loading branch information
ssalinas authored May 31, 2019
2 parents 34be5fa + 3385656 commit 0b4d4c4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions SingularityUI/app/components/status/HostStates.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ function HostStates(props) {
cellData={(host) => host.hostname}
sortable={true}
/>
<Column
label="Leader"
id="leader"
key="leader"
cellData={(host) => host.master}
cellRender={(master) => (
<Glyphicon
className={master ? 'color-success' : 'color-error'}
glyph={master ? 'ok' : 'remove'}
/>
)}
sortable={true}
/>
<Column
label="Scheduler Client Status"
id="driverStatus"
Expand Down

0 comments on commit 0b4d4c4

Please sign in to comment.