mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-08-16 15:28:11 +02:00
Inspect: we expect an object, not a name
This commit is contained in:
parent
ea02d0b23c
commit
d61b93d63d
@ -111,7 +111,7 @@ class InspectController extends ActionController
|
||||
if ($name = $this->params->get('endpoint')) {
|
||||
$this->endpoint = IcingaEndpoint::load($name, $this->db());
|
||||
} else {
|
||||
$this->endpoint = $this->db()->getDeploymentEndpointName();
|
||||
$this->endpoint = $this->db()->getDeploymentEndpoint();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user