mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-24 22:34:25 +02:00
ConfigController: shift checkforchanges first...
...would fail otherwise
This commit is contained in:
parent
a90595a004
commit
b6d97171e1
@ -19,8 +19,8 @@ class ConfigController extends ActionController
|
||||
{
|
||||
$this->setAutorefreshInterval(5);
|
||||
try {
|
||||
if ($this->db()->hasUncollectedDeployments()
|
||||
|| $this->getRequest()->getUrl()->shift('checkforchanges')
|
||||
if ($this->getRequest()->getUrl()->shift('checkforchanges')
|
||||
|| $this->db()->hasUncollectedDeployments()
|
||||
) {
|
||||
$this->api()->collectLogFiles($this->db());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user