Skip to content

Commit

Permalink
Fix incorrect authentication function (sonic-net#13474)
Browse files Browse the repository at this point in the history
Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
  • Loading branch information
ZhaohuiS authored Jun 27, 2024
1 parent ac44f96 commit c907342
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .azure-pipelines/testscripts_analyse/report_data_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ def __init__(self, db_name: str):
raise RuntimeError(
"Could not load Kusto Credentials from environment")
else:
kcsb = KustoConnectionStringBuilder.with_aad_application_key_authentication(ingest_cluster,
access_token)
kcsb = KustoConnectionStringBuilder.with_aad_application_token_authentication(ingest_cluster, access_token)
self._ingestion_client_backup = KustoIngestClient(kcsb)

def upload_testscripts(self, test_scripts):
Expand Down

0 comments on commit c907342

Please sign in to comment.