Add messages in cases when scaleUp/Down action execution fails

Change-Id: Id233e69ab0bd4d2fd993b3c52b0ce2754cca5588
Closes-Bug: #1449595
This commit is contained in:
Dmytro Dovbii 2015-05-08 10:38:00 +03:00
parent 39dc31ae4b
commit f56c8d889e

View File

@ -454,6 +454,8 @@ Methods:
- $._environment.reporter.report($this, 'Scaling up Kubernetes cluster')
- $.nodeCount: $.nodeCount + 1
- $.deploy()
Else:
- $._environment.reporter.report($this, 'The maximum number of nodes has been reached')
scaleNodesDown:
@ -464,6 +466,8 @@ Methods:
- $._environment.reporter.report($this, 'Scaling Kubernetes cluster down')
- $.nodeCount: $.nodeCount - 1
- $.deploy()
Else:
- $._environment.reporter.report($this, 'At least one node must be in cluster')
scaleGatewaysUp:
@ -474,6 +478,8 @@ Methods:
- $._environment.reporter.report($this, 'Adding new gateway node')
- $.gatewayCount: $.gatewayCount + 1
- $.deploy()
Else:
- $._environment.reporter.report($this, 'The maximum number of nodes has been reached')
exportConfig: