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

[release-4.5] Bug 1845908: Set disallowed flags to false in action detector for OCS plugin #5712

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions frontend/packages/ceph-storage-plugin/src/features.ts
Expand Up @@ -43,6 +43,7 @@ export const detectOCS: FeatureDetector = async (dispatch) => {
await k8sGet(OCSServiceModel, OCS_CONVERGED_CR_NAME, CEPH_STORAGE_NAMESPACE);
dispatch(setFlag(OCS_FLAG, true));
dispatch(setFlag(OCS_CONVERGED_FLAG, true));
dispatch(setFlag(OCS_INDEPENDENT_FLAG, false));
} catch (e) {
e?.response?.status !== 404
? handleError(e, [OCS_CONVERGED_FLAG], dispatch, detectOCS)
Expand All @@ -51,6 +52,7 @@ export const detectOCS: FeatureDetector = async (dispatch) => {
await k8sGet(OCSServiceModel, OCS_INDEPENDENT_CR_NAME, CEPH_STORAGE_NAMESPACE);
dispatch(setFlag(OCS_FLAG, true));
dispatch(setFlag(OCS_INDEPENDENT_FLAG, true));
dispatch(setFlag(OCS_CONVERGED_FLAG, false));
} catch (err) {
err?.response?.status !== 404
? handleError(err, [OCS_INDEPENDENT_FLAG], dispatch, detectOCS)
Expand Down