Skip to content

Commit 1d19cb4

Browse files
Use profile when looking up data credential from config
1 parent eaf1e05 commit 1d19cb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cli/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def _run_check_command(service_client: client.ServiceClient, args: argparse.Name
198198
)
199199

200200
data_cred = credentials.get_static_data_credential_from_config(
201-
args.remote_uri,
201+
storage_backend.profile,
202202
args.config_file,
203203
)
204204

src/cli/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ def _run_check_command(service_client: client.ServiceClient, args: argparse.Name
980980
)
981981

982982
data_cred = credentials.get_static_data_credential_from_config(
983-
location_result['path'],
983+
storage_backend.profile,
984984
args.config_file,
985985
)
986986

0 commit comments

Comments
 (0)