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

    https://github.com/apache/cloudstack/pull/1678#discussion_r80064723
  
    --- Diff: 
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtOvsDestroyTunnelCommandWrapper.java
 ---
    @@ -42,7 +42,7 @@ public Answer execute(final OvsDestroyTunnelCommand 
command, final LibvirtComput
                     return new Answer(command, false, "No network found");
                 }
     
    -            final Script scriptCommand = new 
Script(libvirtComputingResource.getOvsTunnelPath(), 
libvirtComputingResource.getTimeout(), s_logger);
    +            final Script scriptCommand = new 
Script(libvirtComputingResource.getOvsTunnelPath(), 
libvirtComputingResource.getTimeout().getMillis(), s_logger);
    --- End diff --
    
    Please consider adding an overridden version of the `Script(String, int, 
Logger)` constructor that accepts `Duration` to encapsulate this type 
conversion.


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