Skip to content

Commit ee99d5e

Browse files
author
Alena Prokharchyk
committed
NescalerResource - added missing "return" statement
1 parent 774739f commit ee99d5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ private synchronized Answer execute(CreateLoadBalancerApplianceCommand cmd, int
949949
ns newVpx = ns.add(_netscalerSdxService, ns_obj);
950950

951951
if (newVpx == null) {
952-
new Answer(cmd, new ExecutionException("Failed to create VPX instance on the netscaler SDX device " + _ip));
952+
return new Answer(cmd, new ExecutionException("Failed to create VPX instance on the netscaler SDX device " + _ip));
953953
}
954954

955955
// wait for VPX instance to start-up

0 commit comments

Comments
 (0)