Config: do not count twice for benchmark
This commit is contained in:
parent
cc34de9b4d
commit
d32f22d493
|
@ -684,11 +684,10 @@ apply Service for (title => params in host.vars["%s"]) {
|
||||||
$this->zoneMap[$object->get('id')] = $object->getObjectName();
|
$this->zoneMap[$object->get('id')] = $object->getObjectName();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$object->renderToConfig($this);
|
$object->renderToConfig($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
Benchmark::measure(sprintf('%ss done', $type, count($objects)));
|
Benchmark::measure(sprintf('%ss done', $type));
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue