Skip to content

Commit

Permalink
Update MCG acronym
Browse files Browse the repository at this point in the history
  • Loading branch information
bipuladh committed Nov 6, 2020
1 parent e129dff commit b1a25a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const ObjectServiceStatus: React.FC<ObjectServiceStatusProps> = ({
<HealthItem title={title} state={state} details={message} popupTitle={popupTitle}>
{statusType === StatusType.HEALTH ? healthString : dataResiliency}
<StatusPopupSection firstColumn="Services" secondColumn="Status">
<Status icon={healthStateMapping[MCGMetrics.state]?.icon}>Multi Cloud Gateway </Status>
<Status icon={healthStateMapping[MCGMetrics.state]?.icon}>Multicloud Object Gateway</Status>
<Status icon={healthStateMapping[RGWMetrics.state]?.icon}>Object Gateway (RGW) </Status>
</StatusPopupSection>
</HealthItem>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export enum ServiceType {
MCG = 'Multi Cloud Gateway',
MCG = 'Multicloud Object Gateway',
RGW = 'Object Gateway (RGW)',
ALL = 'All',
}
Expand All @@ -20,13 +20,13 @@ export namespace CapacityBreakdown {

export const serviceMetricMap = Object.freeze({
[ServiceType.ALL]: {
[CapacityBreakdown.Metrics.TOTAL]: ['Object Gateway (RGW)', 'Multi Cloud Gateway'],
[CapacityBreakdown.Metrics.TOTAL]: ['Object Gateway (RGW)', 'Multicloud Object Gateway'],
},
[ServiceType.RGW]: {
[CapacityBreakdown.Metrics.TOTAL]: ['Object Gateway (RGW)'],
},
[ServiceType.MCG]: {
[CapacityBreakdown.Metrics.TOTAL]: ['Multi Cloud Gateway'],
[CapacityBreakdown.Metrics.TOTAL]: ['Multicloud Object Gateway'],
},
});
}

0 comments on commit b1a25a8

Please sign in to comment.