cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From koushik-das <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-9368: Fix for Support configur...
Date Tue, 10 May 2016 11:06:16 GMT
Github user koushik-das commented on a diff in the pull request:
    --- Diff: services/secondary-storage/server/src/org/apache/cloudstack/storage/template/
    @@ -984,7 +984,8 @@ public boolean configure(String name, Map<String, Object> params)
throws Configu
             String inSystemVM = (String)params.get("");
             if (inSystemVM != null && "true".equalsIgnoreCase(inSystemVM)) {
       "DownloadManager: starting additional services since we are
inside system vm");
    -            _nfsVersion = (String)params.get("nfsVersion");
    +            String nfsVersionParam = (String)params.get("nfsVersion");
    +            _nfsVersion = (nfsVersionParam != null ? Integer.valueOf(nfsVersionParam)
: null);
    --- End diff --
    Saw this pattern getting repeated in multiple places, if possible move it to a method.

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