Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds column for quota utilization in client list page #1670

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

bipuladh
Copy link
Contributor

@bipuladh bipuladh commented Nov 12, 2024

@bipuladh bipuladh force-pushed the client-alert branch 3 times, most recently from c8ce31c to 146ecba Compare November 12, 2024 04:09
@@ -216,6 +225,9 @@ const ClientsList: React.FC<ClientListProps> = (props) => {
const getOpenshiftVersion = (obj: StorageConsumerKind) =>
obj?.status?.client?.platformVersion;

const getStorageQuotaUtilizationRatio = (obj: StorageConsumerKind) =>
`${obj?.status?.client?.storageQuotaUtilizationRatio}`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`${obj?.status?.client?.storageQuotaUtilizationRatio}`;
obj?.status?.client?.storageQuotaUtilizationRatio;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs to be string or JSX.Element number is neither

@SanjalKatiyar
Copy link
Collaborator

@bipuladh can u plz add the Jira link to the PR description ?

@SanjalKatiyar
Copy link
Collaborator

/lgtm

Copy link
Contributor

openshift-ci bot commented Nov 12, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bipuladh, SanjalKatiyar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [SanjalKatiyar,bipuladh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit d61b5ce into red-hat-storage:master Nov 12, 2024
5 checks passed
@@ -171,6 +175,11 @@ const ClientsList: React.FC<ClientListProps> = (props) => {
column.sort = 'status.storageQuotaInGiB';
column.props.info = { popover: <StorageQuotaPopoverContent /> };
break;
case 'storageQuotaUtilRation':
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bipuladh it should be storageQuotaUtilRatio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants