DaanHoogland commented on code in PR #9079:
URL: https://github.com/apache/cloudstack/pull/9079#discussion_r1627167985
##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterActionWorker.java:
##########
@@ -361,7 +361,7 @@ protected IpAddress getVpcTierKubernetesPublicIp(Network
network) {
return null;
}
IpAddress address = ipAddressDao.findByUuid(detailsVO.getValue());
- if (address == null || network.getVpcId() != address.getVpcId()) {
+ if (address == null || network.getVpcId().longValue() !=
address.getVpcId().longValue()) {
Review Comment:
good point, I was thinking .equals() should work as well but then forgot to
look further. @JSpon can you eliminate that possibility?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]