File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -192,10 +192,10 @@ def init_vscode(**kwargs):
192
192
"--oci-config" ,
193
193
help = "oci config file" ,
194
194
required = False ,
195
- default = None ,
195
+ default = authutil . DEFAULT_LOCATION ,
196
196
),
197
197
click .option (
198
- "--oci-profile" , help = "oci config profile" , required = False , default = None
198
+ "--oci-profile" , help = "oci config profile" , required = False , default = authutil . DEFAULT_PROFILE
199
199
),
200
200
click .option (
201
201
"--conf-file" ,
@@ -393,7 +393,11 @@ def run(file, **kwargs):
393
393
if os .path .exists (file ):
394
394
auth = {}
395
395
if kwargs ["auth" ]:
396
- auth = authutil .create_signer (kwargs ["auth" ])
396
+ auth = authutil .create_signer (
397
+ auth_type = kwargs ["auth" ],
398
+ oci_config_location = kwargs ["oci_config" ],
399
+ profile = kwargs ["oci_profile" ]
400
+ )
397
401
else :
398
402
auth = authutil .default_signer ()
399
403
You can’t perform that action at this time.
0 commit comments