Commit ec772e9 1 parent 39cb859 commit ec772e9 Copy full SHA for ec772e9
File tree 3 files changed +4
-6
lines changed
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -133,8 +133,10 @@ def app_init(app):
133
133
)
134
134
async_pool_init (app )
135
135
136
- if app .config .get ("ARBORIST" ):
137
- app .auth = ArboristClient (arborist_base_url = app .config ["ARBORIST" ])
136
+ # ARBORIST deprecated, replaced by ARBORIST_URL
137
+ arborist_url = os .environ .get ("ARBORIST_URL" , os .environ .get ("ARBORIST" ))
138
+ if arborist_url :
139
+ app .auth = ArboristClient (arborist_base_url = arborist_url )
138
140
else :
139
141
app .logger .info ("Using default Arborist base URL" )
140
142
app .auth = ArboristClient ()
Original file line number Diff line number Diff line change 19
19
'auth_url' : env .get ('KEYSTONE_AUTH_URL' ),
20
20
'user_domain_name' : env .get ('KEYSTONE_DOMAIN' )}
21
21
22
- ARBORIST = "http://arborist-service/"
23
-
24
22
# Storage
25
23
CLEVERSAFE_HOST = env .get ('CLEVERSAFE_HOST' , 'cleversafe.service.consul' )
26
24
Original file line number Diff line number Diff line change 15
15
'user_domain_name' : 'some_domain' ,
16
16
}
17
17
18
- ARBORIST = "http://arborist-service/"
19
-
20
18
SUBMISSION = {
21
19
"bucket" : 'test_submission' ,
22
20
"host" : 'host' ,
You can’t perform that action at this time.
0 commit comments