rafaelweingartner commented on a change in pull request #2146: CLOUDSTACK-4757:
Support OVA files with multiple disks for templates
URL: https://github.com/apache/cloudstack/pull/2146#discussion_r158581962
##########
File path:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
##########
@@ -3078,7 +3058,7 @@ private String getVlanInfo(NicTO nicTo, String
defaultVlan) {
VirtualSwitchType switchType = VirtualSwitchType.StandardVirtualSwitch;
String vlanId = Vlan.UNTAGGED;
- if(nicTo.getName() != null && !nicTo.getName().isEmpty()) {
+ if (nicTo.getName() != null && !nicTo.getName().isEmpty()) {
Review comment:
What about using StringUtils.IsNotBlank?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services