mirror of https://github.com/apache/cloudstack.git
VPC: fixed listStaticRoutes when search by gatewayId
This commit is contained in:
parent
1a3a899d59
commit
a0a0113b51
|
|
@ -4424,8 +4424,7 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
|
|||
|
||||
// remote access vpn can be enabled only for static nat ip, so this part should never be executed under normal
|
||||
// conditions
|
||||
// only when ip address failed to be cleaned up as a part of account destroy and was marked as Releasing, this
|
||||
// part of
|
||||
// only when ip address failed to be cleaned up as a part of account destroy and was marked as Releasing, this part of
|
||||
// the code would be triggered
|
||||
s_logger.debug("Cleaning up remote access vpns as a part of public IP id=" + ipId + " release...");
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -1538,7 +1538,7 @@ public class VpcManagerImpl implements VpcManager, Manager{
|
|||
}
|
||||
|
||||
if (gatewayId != null) {
|
||||
sc.addAnd("vpcGatewayId", Op.EQ, vpcId);
|
||||
sc.addAnd("vpcGatewayId", Op.EQ, gatewayId);
|
||||
}
|
||||
|
||||
if (tags != null && !tags.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue