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):
192192 "--oci-config" ,
193193 help = "oci config file" ,
194194 required = False ,
195- default = None ,
195+ default = authutil . DEFAULT_LOCATION ,
196196 ),
197197 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
199199 ),
200200 click .option (
201201 "--conf-file" ,
@@ -393,7 +393,11 @@ def run(file, **kwargs):
393393 if os .path .exists (file ):
394394 auth = {}
395395 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+ )
397401 else :
398402 auth = authutil .default_signer ()
399403
You can’t perform that action at this time.
0 commit comments