[icinga-checkins] icinga.org: icinga-web/master: * Added persistent flag for add comment in api (fixes #1437)

git at icinga.org git at icinga.org
Tue Aug 23 15:34:17 CEST 2011


Module: icinga-web
Branch: master
Commit: b90f058bc5479a89c31d8cc7f22dffd4842e982c
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=b90f058bc5479a89c31d8cc7f22dffd4842e982c

Author: Marius Hein <marius.hein at netways.de>
Date:   Tue Aug 23 14:52:40 2011 +0200

* Added persistent flag for add comment in api (fixes #1437)

---

 app/modules/Api/config/commands/host.xml    |    2 +-
 app/modules/Api/config/commands/service.xml |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/Api/config/commands/host.xml b/app/modules/Api/config/commands/host.xml
index 31af85e..74dee36 100644
--- a/app/modules/Api/config/commands/host.xml
+++ b/app/modules/Api/config/commands/host.xml
@@ -81,7 +81,7 @@
         <ic:definition>ADD_HOST_COMMENT</ic:definition>
         <ic:parameters>
             <ic:parameter ref="COMMAND_HOST" />
-            <ic:parameter ref="COMMAND_DATA" />
+            <ic:parameter ref="COMMAND_PERSISTENT" />
             <ic:parameter ref="COMMAND_AUTHOR" />
             <ic:parameter ref="COMMAND_COMMENT" />
         </ic:parameters>
diff --git a/app/modules/Api/config/commands/service.xml b/app/modules/Api/config/commands/service.xml
index bb3aa75..e0d33cc 100644
--- a/app/modules/Api/config/commands/service.xml
+++ b/app/modules/Api/config/commands/service.xml
@@ -82,7 +82,7 @@
         <ic:parameters>
             <ic:parameter ref="COMMAND_HOST" />
             <ic:parameter ref="COMMAND_SERVICE" />
-            <ic:parameter ref="COMMAND_DATA" />
+            <ic:parameter ref="COMMAND_PERSISTENT" />
             <ic:parameter ref="COMMAND_AUTHOR" />
             <ic:parameter ref="COMMAND_COMMENT" />
         </ic:parameters>





More information about the icinga-checkins mailing list