mirror of https://github.com/apache/cloudstack.git
Fixed ip assoc
This commit is contained in:
parent
eb2d05c6c6
commit
914b5fa981
|
|
@ -228,9 +228,7 @@ public class AssociateIPAddrCmd extends BaseAsyncCreateCmd {
|
|||
|
||||
IpAddress result = null;
|
||||
|
||||
if (getVpcId() != null) {
|
||||
result = _networkService.associateIP(getEntityId(), getNetworkId(), getVpcId());
|
||||
}
|
||||
result = _networkService.associateIP(getEntityId(), getNetworkId(), getVpcId());
|
||||
|
||||
if (result != null) {
|
||||
IPAddressResponse ipResponse = _responseGenerator.createIPAddressResponse(result);
|
||||
|
|
|
|||
Loading…
Reference in New Issue