mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-26 23:34:10 +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);
|
$this->setAutorefreshInterval(5);
|
||||||
try {
|
try {
|
||||||
if ($this->db()->hasUncollectedDeployments()
|
if ($this->getRequest()->getUrl()->shift('checkforchanges')
|
||||||
|| $this->getRequest()->getUrl()->shift('checkforchanges')
|
|| $this->db()->hasUncollectedDeployments()
|
||||||
) {
|
) {
|
||||||
$this->api()->collectLogFiles($this->db());
|
$this->api()->collectLogFiles($this->db());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user