Github user pdube commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1813#discussion_r98259395
  
    --- Diff: 
plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixResizeVolumeCommandWrapper.java
 ---
    @@ -48,6 +48,11 @@ public Answer execute(final ResizeVolumeCommand command, 
final CitrixResourceBas
             long newSize = command.getNewSize();
     
             try {
    +
    +            if(command.getCurrentSize() <= newSize) {
    +                s_logger.info("No need to resize volume: " + volId +", 
current size " + command.getCurrentSize() + " is same as  new size " + newSize);
    +                return new ResizeVolumeAnswer(command, true, "success", 
newSize);
    +            }
    --- End diff --
    
    So you can't increase the size of a volume? This seems flawed


---
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