mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Set feature flag base on setting (#15808)
This commit is contained in:
parent
a74e7301cd
commit
15932e3f7c
@ -119,3 +119,8 @@ from .application_name import set_application_name
|
||||
set_application_name(DATABASES, CLUSTER_HOST_ID) # NOQA
|
||||
|
||||
del set_application_name
|
||||
|
||||
# Set the value of any feature flags that are defined in the local settings
|
||||
for feature in list(FLAGS.keys()): # noqa: F405
|
||||
if feature in locals():
|
||||
FLAGS[feature][0]['value'] = locals()[feature] # noqa: F405
|
||||
|
||||
@ -104,3 +104,8 @@ from .application_name import set_application_name
|
||||
set_application_name(DATABASES, CLUSTER_HOST_ID) # NOQA
|
||||
|
||||
del set_application_name
|
||||
|
||||
# Set the value of any feature flags that are defined in the local settings
|
||||
for feature in list(FLAGS.keys()): # noqa: F405
|
||||
if feature in locals():
|
||||
FLAGS[feature][0]['value'] = locals()[feature] # noqa: F405
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user