mirror of https://github.com/apache/cloudstack.git
Merge release branch 4.18 to 4.19
* 4.18: CKS: fix creation on shared network if HA is enabled (#8588)
This commit is contained in:
commit
cb4713fabe
|
|
@ -828,7 +828,7 @@ public class KubernetesClusterManagerImpl extends ManagerBase implements Kuberne
|
|||
if (network == null) {
|
||||
throw new InvalidParameterValueException(String.format("%s parameter must be specified along with %s parameter", ApiConstants.EXTERNAL_LOAD_BALANCER_IP_ADDRESS, ApiConstants.NETWORK_ID));
|
||||
}
|
||||
if (Network.GuestType.Shared.equals(network.getGuestType())) {
|
||||
if (!Network.GuestType.Shared.equals(network.getGuestType())) {
|
||||
throw new InvalidParameterValueException(String.format("%s parameter must be specified along with %s type of network", ApiConstants.EXTERNAL_LOAD_BALANCER_IP_ADDRESS, Network.GuestType.Shared.toString()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue