cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: CLOUDSTACK-551: cloudstack UI - deployVM - select security groups step - show DefaultSecurityGroup option because backend has been changed to not always add DefaultSecurityGroup unless specified in DeployVirtualMachine API.
Date Tue, 27 Nov 2012 23:47:38 GMT
Updated Branches:
  refs/heads/master 4b3892a54 -> 687d76b5e


CLOUDSTACK-551: cloudstack UI - deployVM - select security groups step - show DefaultSecurityGroup
option because backend has been changed to not always add DefaultSecurityGroup unless specified
in DeployVirtualMachine API.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/687d76b5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/687d76b5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/687d76b5

Branch: refs/heads/master
Commit: 687d76b5e3e316734c1c05169b8ae29c38260638
Parents: 4b3892a
Author: Jessica Wang <jessica.wang@citrix.com>
Authored: Tue Nov 27 15:47:07 2012 -0800
Committer: Jessica Wang <jessica.wang@citrix.com>
Committed: Tue Nov 27 15:47:07 2012 -0800

----------------------------------------------------------------------
 ui/scripts/instanceWizard.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/687d76b5/ui/scripts/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instanceWizard.js b/ui/scripts/instanceWizard.js
index 021fa8a..89ca1d6 100644
--- a/ui/scripts/instanceWizard.js
+++ b/ui/scripts/instanceWizard.js
@@ -408,8 +408,7 @@
             var items = json.listsecuritygroupsresponse.securitygroup;
             if (items != null && items.length > 0) {
               for (var i = 0; i < items.length; i++) {
-                if(items[i].name != "default") //exclude default security group because it
is always applied
-                  securityGroupArray.push(items[i]);
+                securityGroupArray.push(items[i]);
               }
             }
           }


Mime
View raw message