mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaCommandForm: don't require command for templates
This commit is contained in:
parent
a09c34a190
commit
f80284d490
@ -35,7 +35,7 @@ class IcingaCommandForm extends DirectorObjectForm
|
||||
|
||||
$this->addElement('text', 'command', array(
|
||||
'label' => $this->translate('Command'),
|
||||
'required' => true,
|
||||
'required' => ! $this->isTemplate(),
|
||||
'description' => $this->translate('The command Icinga should run. Absolute paths are accepted as provided, relative paths are prefixed with "PluginDir + ", similar Constant prefixes are allowed. Spaces will lead to separation of command path and standalone arguments. Please note that this means that we do not support spaces in plugin names and paths right now.')
|
||||
));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user