Pearl1594 commented on code in PR #12386:
URL: https://github.com/apache/cloudstack/pull/12386#discussion_r2737116371
##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesServiceHelperImpl.java:
##########
@@ -244,6 +250,81 @@ public Map<String, Long>
getTemplateNodeTypeMap(Map<String, Map<String, String>>
return mapping;
}
+ protected void checkNodeTypeAffinityGroupEntryCompleteness(String
nodeType, String affinityGroupUuids) {
+ if (StringUtils.isAnyBlank(nodeType, affinityGroupUuids)) {
+ String error = String.format("Any Node Type to Affinity Group
entry should have a valid '%s' and '%s' values",
Review Comment:
```suggestion
String error = String.format("Any Node Type to Affinity Group
entry should have valid '%s' and '%s' values",
```
--
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]