make completed status green
Signed-off-by: Andrew Tran <atran@brex.com>
This commit is contained in:
@@ -63,7 +63,13 @@ export const containerStatuses = (pod: V1Pod): ReactNode => {
|
||||
const renderCell = (reason: string | undefined) => (
|
||||
<Fragment key={`${pod.metadata?.name}-${next.name}`}>
|
||||
<SubvalueCell
|
||||
value={<StatusError>Container: {next.name}</StatusError>}
|
||||
value={
|
||||
reason === 'Completed' ? (
|
||||
<StatusOK>Container: {next.name}</StatusOK>
|
||||
) : (
|
||||
<StatusError>Container: {next.name}</StatusError>
|
||||
)
|
||||
}
|
||||
subvalue={reason}
|
||||
/>
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user