Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format of cluster name has changed in new KustoClient. #667

Merged
merged 1 commit into from
May 19, 2023

Conversation

ianhelle
Copy link
Contributor

Kusto client 4.2.0 adds trailing "/" to cluster URI
Fixing test cases to allow for old and new format.

Comment on lines +207 to +209
lambda driver: driver.client._kusto_cluster.startswith(
"https://test.kusto.windows.net"
)

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization

The string [https://test.kusto.windows.net](1) may be at an arbitrary position in the sanitized URL.
Comment on lines +322 to +324
lambda driver: driver.client._kusto_cluster.startswith(
"https://test.kusto.windows.net"
),

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization

The string [https://test.kusto.windows.net](1) may be at an arbitrary position in the sanitized URL.
Comment on lines +336 to +338
lambda driver: driver.client._kusto_cluster.startswith(
"https://random.kusto.windows.net"
)

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization

The string [https://random.kusto.windows.net](1) may be at an arbitrary position in the sanitized URL.
@ianhelle ianhelle merged commit bbfbc98 into main May 19, 2023
@ianhelle ianhelle deleted the ianhelle/fix-kusto-test-errs-2023-05-19 branch May 19, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant