fix the condition to print for the osprofiler
print the info only if --profile was used this fixes the tempest test failure in vitrage Change-Id: I67f0e2d22007bafba7564adbe07c43585407c39c
This commit is contained in:
parent
dc04c2ae95
commit
3d2c0c0c00
@ -154,7 +154,7 @@ class VitrageShell(app.App):
|
||||
else:
|
||||
endpoint_override = None
|
||||
|
||||
if hasattr(self.options, "profile"):
|
||||
if profiler and self.options.profile:
|
||||
# Initialize the root of the future trace: the created trace
|
||||
# ID will be used as the very first parent to which all
|
||||
# related traces will be bound to. The given HMAC key must
|
||||
|
Loading…
x
Reference in New Issue
Block a user