Github user mike-tutkowski commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/816#discussion_r39390123
  
    --- Diff: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 ---
    @@ -3327,7 +3330,7 @@ private Answer execute(MigrateVolumeCommand cmd) {
                 // Consolidate VM disks.
                 // In case of a linked clone VM, if VM's disks are not 
consolidated,
                 // further volume operations on the ROOT volume such as volume 
snapshot etc. will result in DB inconsistencies.
    -            String apiVersion = 
HypervisorHostHelper.getVcenterApiVersion(vmMo.getContext());
    +            // String apiVersion = 
HypervisorHostHelper.getVcenterApiVersion(vmMo.getContext());
    --- End diff --
    
    While making changes in this file, I noticed that Eclipse was pointing out 
that the variable apiVersion was not in use. Instead of removing the entire 
line, I just commented it out in case someone later wanted to easily resume 
making use of this variable.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to