Make --profile load from environment variables
--profile argument can be loaded from OS_PROFILE environment variables to avoid repeating --profile in client commands. Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com> Change-Id: Ia24144f5858d05566ffa32a329884dc4dd7ec570
This commit is contained in:
parent
cbfe42acae
commit
c9699085aa
@ -504,6 +504,7 @@ class MistralShell(app.App):
|
||||
'--profile',
|
||||
dest='profile',
|
||||
metavar='HMAC_KEY',
|
||||
default=env('OS_PROFILE'),
|
||||
help='HMAC key to use for encrypting context data for performance '
|
||||
'profiling of operation. This key should be one of the '
|
||||
'values configured for the osprofiler middleware in mistral, '
|
||||
|
Loading…
x
Reference in New Issue
Block a user