Skip to content

Commit

Permalink
Validation on storage & nodes install step
Browse files Browse the repository at this point in the history
Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
  • Loading branch information
cloudbehl committed Dec 2, 2020
1 parent 4388293 commit 7f25daa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ const CreateSC: React.FC<CreateSCProps> = ({ match, hasNoProvSC, mode, lsoNs })
if (!state.volumeSetName.trim().length) return true;
if (state.filteredNodes.length < MINIMUM_NODES) return true;
return !state.volumeSetName.trim().length;
case CreateStepsSC.STORAGEANDNODES:
return state.nodes.length < MINIMUM_NODES || !getName(state.storageClass);
case CreateStepsSC.REVIEWANDCREATE:
return (
state.nodes.length < MINIMUM_NODES ||
Expand Down

0 comments on commit 7f25daa

Please sign in to comment.