Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected function assembleElements()
'required' => true,
'label' => t('Status'),
'description' => t('The state this check result should report'),
'multiOptions' => $object instanceof Host ? [
'options' => $object instanceof Host ? [
ProcessCheckResultCommand::HOST_UP => t('UP', 'icinga.state'),
ProcessCheckResultCommand::HOST_DOWN => t('DOWN', 'icinga.state')
] : [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected function assembleElements()
array(
'description' => t('Schedule child downtimes.'),
'label' => t('Child Options'),
'multiOptions' => [
'options' => [
0 => t('Do nothing with child hosts'),
1 => t('Schedule triggered downtime for all child hosts'),
2 => t('Schedule non-triggered downtime for all child hosts')
Expand Down