Skip to content

Commit

Permalink
ObjectDetail: Increase output length limit to 10000
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Mar 22, 2024
1 parent 26b694c commit 8da813a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion library/Icingadb/Widget/Detail/ObjectDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,10 @@ protected function createPluginOutput(): array
if (empty($this->object->state->output) && empty($this->object->state->long_output)) {
$pluginOutput = new EmptyState(t('Output unavailable.'));
} else {
$pluginOutput = new PluginOutputContainer(PluginOutput::fromObject($this->object));
$pluginOutput = new PluginOutputContainer(
PluginOutput::fromObject($this->object)
->setCharacterLimit(10000)
);
CopyToClipboard::attachTo($pluginOutput);
}

Expand Down

0 comments on commit 8da813a

Please sign in to comment.