mirror of https://github.com/apache/cloudstack.git
CID-1233088: In case there is no GSLB SP, throw cloud exception
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
88c6072b4d
commit
fbbd2f8932
|
|
@ -687,7 +687,7 @@ public class GlobalLoadBalancingRulesServiceImpl implements GlobalLoadBalancingR
|
|||
|
||||
try {
|
||||
lookupGslbServiceProvider().applyGlobalLoadBalancerRule(zoneId.first(), zoneId.second(), gslbConfigCmd);
|
||||
} catch (ResourceUnavailableException e) {
|
||||
} catch (ResourceUnavailableException | NullPointerException e) {
|
||||
String msg = "Failed to configure GSLB rule in the zone " + zoneId.first() + " due to " + e.getMessage();
|
||||
s_logger.warn(msg);
|
||||
throw new CloudRuntimeException(msg);
|
||||
|
|
|
|||
Loading…
Reference in New Issue