Skip to content

Conversation

@gnehapk
Copy link
Contributor

@gnehapk gnehapk commented Sep 27, 2019

Follow up changes from ocs install PR

@spadgett Please review.

@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. component/ceph Related to ceph-storage-plugin component/core Related to console core functionality labels Sep 27, 2019
if (sc.metadata && _.isEqual(sc.metadata.annotations, defaultSAnotations)) {
if (
sc.metadata &&
_.isEqual(sc.metadata.annotations, { [defaultClassAnnotation]: 'true' })
Copy link
Member

Choose a reason for hiding this comment

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

You should only check the value of the single annotation. Otherwise another annotation on the storage class would cause the check to fail. But better to use the existing isDefaultClass helper from storage.class.tsx.

@@ -12,7 +12,7 @@ export const StorageClassReference: K8sResourceKindReference = 'StorageClass';
const { common } = Kebab.factory;
const menuActions = [...Kebab.getExtensionsActionsForKind(StorageClassModel), ...common];

const defaultClassAnnotation = 'storageclass.kubernetes.io/is-default-class';
export const defaultClassAnnotation = 'storageclass.kubernetes.io/is-default-class';
Copy link
Member

Choose a reason for hiding this comment

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

Don't export this, use isDefaultClass below

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ack

@spadgett spadgett added this to the v4.3 milestone Sep 27, 2019
@gnehapk gnehapk force-pushed the follow-up-changes branch from f11bac4 to 1ace0c0 Compare October 1, 2019 14:26
@gnehapk
Copy link
Contributor Author

gnehapk commented Oct 1, 2019

@spadgett Amended the PR. Please review

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 1, 2019
@@ -178,7 +177,7 @@ const CustomNodeTable: React.FC<CustomNodeTableProps> = ({ data, loaded, ocsProp
setNodes(formattedNodes);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
Copy link
Contributor

Choose a reason for hiding this comment

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

This also needs to be removed if you are removing JSON.stringify.

@gnehapk
Copy link
Contributor Author

gnehapk commented Oct 15, 2019

/test e2e-aws-console-olm

@cloudbehl
Copy link
Contributor

/approve
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 16, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cloudbehl, gnehapk

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

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

@gnehapk
Copy link
Contributor Author

gnehapk commented Oct 16, 2019

/test e2e-aws-console-olm

@openshift-merge-robot openshift-merge-robot merged commit 344f2ec into openshift:master Oct 16, 2019
@gnehapk
Copy link
Contributor Author

gnehapk commented Oct 29, 2019

/cherrypick release-4.2

@openshift-cherrypick-robot

@gnehapk: new pull request created: #3124

Details

In response to this:

/cherrypick release-4.2

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@gnehapk gnehapk changed the title Follow up changes from ocs install PR Bug 1766587: Follow up changes from ocs install PR Oct 29, 2019
@openshift-ci-robot
Copy link
Contributor

@gnehapk: Bugzilla bug 1766587 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state.

Details

In response to this:

Bug 1766587: Follow up changes from ocs install PR

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@gnehapk
Copy link
Contributor Author

gnehapk commented Oct 29, 2019

/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

@gnehapk: Bugzilla bug 1766587 is in an unrecognized state (MODIFIED) and will not be moved to the MODIFIED state.

Details

In response to this:

/bugzilla refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. component/ceph Related to ceph-storage-plugin component/core Related to console core functionality lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants