Config: do not count twice for benchmark

This commit is contained in:
Thomas Gelf 2016-11-11 19:34:21 +01:00
parent cc34de9b4d
commit d32f22d493
1 changed files with 1 additions and 2 deletions

View File

@ -684,11 +684,10 @@ apply Service for (title => params in host.vars["%s"]) {
$this->zoneMap[$object->get('id')] = $object->getObjectName();
}
}
$object->renderToConfig($this);
}
Benchmark::measure(sprintf('%ss done', $type, count($objects)));
Benchmark::measure(sprintf('%ss done', $type));
return $this;
}