mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ApiXmlDocWriter: Don't hardcode around login api or skip it based on key name
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
fed71ec585
commit
31fbb20648
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user