cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburwell <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1545: CLOUDSTACK-8715: Add channel to Instances for...
Date Thu, 17 Nov 2016 03:02:55 GMT
Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1545#discussion_r88378451
  
    --- Diff: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
---
    @@ -776,6 +779,13 @@ public boolean configure(final String name, final Map<String,
Object> params) th
                 _localStoragePath = "/var/lib/libvirt/images/";
             }
     
    +        /* Directory to use for Qemu sockets like for the Qemu Guest Agent */
    +        _qemuSocketsPath = new File("/var/lib/libvirt/qemu");
    +        String _qemuSocketsPathVar = (String)params.get("qemu.sockets.path");
    +        if (!StringUtils.isNotBlank(_qemuSocketsPathVar)) {
    --- End diff --
    
    Minor not: A logical not perform on `StringUtils.isNotBlank` is a awkward.  Please consider
refactoring to `if (StringUtils.isBlank(_qemuSocketsPathVar)`.


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

Mime
View raw message