Fix wrong debug message

This commit is contained in:
Alexander A. Klimov 2018-04-04 09:31:20 +02:00
parent ce86e6833d
commit 5cd758eca5

View file

@ -219,7 +219,7 @@ abstract class Graphs extends AbstractWidget
] as $templateSet) {
list($urlParam, $templates, $excludeMetrics) = $templateSet;
if (empty($excludeMetrics)) {
if ($urlParam === 'template') {
IPT::recordf('Applying templates for check command %s', $actualCheckCommand);
} else {
IPT::recordf('Applying default templates, excluding previously used metrics');