[icinga-checkins] icinga.org: icingaweb2-module-director/master: ConfigJob: fix no $api available

git at icinga.org git at icinga.org
Thu Jun 16 15:34:36 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: cf88f110e07e1b8ef9e296ce0550b47b0a50830f
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=cf88f110e07e1b8ef9e296ce0550b47b0a50830f

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Jun 16 15:34:14 2016 +0200

ConfigJob: fix no $api available

---

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

diff --git a/library/Director/Job/ConfigJob.php b/library/Director/Job/ConfigJob.php
index 29569a5..39b7095 100644
--- a/library/Director/Job/ConfigJob.php
+++ b/library/Director/Job/ConfigJob.php
@@ -128,7 +128,7 @@ class ConfigJob extends JobHook
     {
         return DirectorDeploymentLog::getConfigChecksumForStageName(
             $this->db(),
-            $api->getActiveStageName()
+            $this->api()->getActiveStageName()
         );
     }
 



More information about the icinga-checkins mailing list