[icinga-checkins] icinga.org: icinga-api/master: * Added duration special field

git at icinga.org git at icinga.org
Mon Jan 17 15:13:18 CET 2011


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

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Jan 13 11:25:16 2011 +0100

* Added duration special field

---

 objects/command/IcingaApiCommandCollection.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/objects/command/IcingaApiCommandCollection.php b/objects/command/IcingaApiCommandCollection.php
index 579f649..4a911f0 100644
--- a/objects/command/IcingaApiCommandCollection.php
+++ b/objects/command/IcingaApiCommandCollection.php
@@ -179,7 +179,7 @@ class IcingaApiCommandCollection
 			'required'	=> false
 		),
 		self::COMMAND_DURATION => array(
-			'type'	=> 'text',
+			'type'	=> 'duration',
 			'required'	=> false
 		),
 		self::COMMAND_DATA => array(





More information about the icinga-checkins mailing list