Merge "fixes support for osprofiler"

This commit is contained in:
Jenkins 2017-07-27 16:37:36 +00:00 committed by Gerrit Code Review
commit c39ed492ce

View File

@ -99,7 +99,7 @@ class SenlinShell(object):
print(' '.join(commands | options))
def add_profiler_args(self, parser):
if osprofiler_profiler:
if isinstance(osprofiler_profiler, int):
parser.add_argument(
'--os-profile',
metavar='HMAC_KEY',