[icinga-checkins] icinga.org: icingaweb2-module-director/feature/job-scheduling-11627: ImportSource: set a default state, according to db

git at icinga.org git at icinga.org
Mon May 2 10:45:14 CEST 2016


Module: icingaweb2-module-director
Branch: feature/job-scheduling-11627
Commit: 2209607016ce616f66996196885b1a13492a27b5
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=2209607016ce616f66996196885b1a13492a27b5

Author: Thomas Gelf <thomas at gelf.net>
Date:   Mon May  2 10:44:12 2016 +0200

ImportSource: set a default state, according to db

---

 library/Director/Objects/ImportSource.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Director/Objects/ImportSource.php b/library/Director/Objects/ImportSource.php
index cef74fa..82e99f7 100644
--- a/library/Director/Objects/ImportSource.php
+++ b/library/Director/Objects/ImportSource.php
@@ -20,7 +20,7 @@ class ImportSource extends DbObjectWithSettings
         'source_name'        => null,
         'provider_class'     => null,
         'key_column'         => null,
-        'import_state'       => null,
+        'import_state'       => 'unknown',
         'last_error_message' => null,
         'last_attempt'       => null,
     );



More information about the icinga-checkins mailing list