This is an automated email from the ASF dual-hosted git repository.
ykinash pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/develop by this push:
new 5d768c3 [DATALAB-2430] -- fixed tests
5d768c3 is described below
commit 5d768c3859aec7440616006ff8111daebc08b027
Author: KinashYurii <[email protected]>
AuthorDate: Wed Jun 16 14:12:28 2021 +0300
[DATALAB-2430] -- fixed tests
---
.../epam/datalab/backendapi/resources/aws/ComputationalResourceAws.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/aws/ComputationalResourceAws.java
b/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/aws/ComputationalResourceAws.java
index baaf397..f0f8d29 100644
---
a/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/aws/ComputationalResourceAws.java
+++
b/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/aws/ComputationalResourceAws.java
@@ -217,7 +217,7 @@ public class ComputationalResourceAws implements
ComputationalAPI {
private void validate(SparkStandaloneClusterCreateForm form) {
- int instanceCount =
Integer.parseInt(form.getDataEngineInstanceCount());
+ int instanceCount =
Integer.parseInt(form.getMasterDataEngineInstanceCount());
if (instanceCount < configuration.getMinSparkInstanceCount()
|| instanceCount > configuration.getMaxSparkInstanceCount()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]