Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Fix dashboard health typo - degrated/degraded (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawagner authored and mareklibra committed Apr 25, 2019
1 parent e458ba7 commit c6a2f32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/ClusterOverview/Health/Health.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ const getClusterHealth = subsystemStates => {
healthState =
sortedStates.errorStates.length === 1
? sortedStates.errorStates[0]
: { state: ERROR_STATE, message: 'Multiple errors', details: 'Cluster health is degrated' };
: { state: ERROR_STATE, message: 'Multiple errors', details: 'Cluster health is degraded' };
} else if (sortedStates.warningStates.length > 0) {
healthState =
sortedStates.warningStates.length === 1
? sortedStates.warningStates[0]
: { state: WARNING_STATE, message: 'Multiple warnings', details: 'Cluster health is degrated' };
: { state: WARNING_STATE, message: 'Multiple warnings', details: 'Cluster health is degraded' };
}

return healthState;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ exports[`<Health /> renders multiple erros correctly 1`] = `
<div
class="kubevirt-health__text kubevirt-health__subtitle"
>
Cluster health is degrated
Cluster health is degraded
</div>
</div>
</div>
Expand Down

0 comments on commit c6a2f32

Please sign in to comment.