cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to 31fbb20
Date Wed, 13 Aug 2014 12:05:43 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master fed71ec58 -> 31fbb2064


ApiXmlDocWriter: Don't hardcode around login api or skip it based on key name

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/master
Commit: 31fbb2064899b40e42eeaf3d21c0222d725313e9
Parents: fed71ec
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Wed Aug 13 14:04:52 2014 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Wed Aug 13 14:05:18 2014 +0200

----------------------------------------------------------------------
 server/src/com/cloud/api/doc/ApiXmlDocWriter.java | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/31fbb206/server/src/com/cloud/api/doc/ApiXmlDocWriter.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/doc/ApiXmlDocWriter.java b/server/src/com/cloud/api/doc/ApiXmlDocWriter.java
index ee8a4bb..8ed786d 100644
--- a/server/src/com/cloud/api/doc/ApiXmlDocWriter.java
+++ b/server/src/com/cloud/api/doc/ApiXmlDocWriter.java
@@ -215,11 +215,9 @@ public class ApiXmlDocWriter {
                 writeCommand(rootAdmin, key);
 
                 // Write single commands to separate xml files
-                if (!key.equals("login")) {
-                    ObjectOutputStream singleRootAdminCommandOs = xs.createObjectOutputStream(new
FileWriter(rootAdminDirName + "/" + key + ".xml"), "command");
-                    writeCommand(singleRootAdminCommandOs, key);
-                    singleRootAdminCommandOs.close();
-                }
+                ObjectOutputStream singleRootAdminCommandOs = xs.createObjectOutputStream(new
FileWriter(rootAdminDirName + "/" + key + ".xml"), "command");
+                writeCommand(singleRootAdminCommandOs, key);
+                singleRootAdminCommandOs.close();
 
                 if (s_domainAdminApiCommands.containsKey(key)) {
                     writeCommand(domainAdmin, key);


Mime
View raw message