cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GabrielBrascher <>
Subject [GitHub] cloudstack pull request: [4.7] vmware: improve support for disks
Date Wed, 06 Apr 2016 21:05:59 GMT
Github user GabrielBrascher commented on a diff in the pull request:
    --- Diff: server/src/com/cloud/storage/ ---
    @@ -1924,6 +1935,23 @@ public Volume migrateVolume(MigrateVolumeCmd cmd) {
                                     throw new InvalidParameterValueException("Cannot migrate
ROOT volume of a stopped VM to a storage pool in a different VMware datacenter");
    --- End diff --
    @bhaisaab I have to agree with @rafaelweingartner. Create methods is also a great way
to improve the code (no just a way to get a reusable code). It helps on keep it readable,
ensure its correct implementation by implementing tests, and allows to create Javadoc. I think
that it could improve this code too.

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 or file a JIRA ticket
with INFRA.

View raw message