Skip to content

Commit

Permalink
Update KustoReader.scala
Browse files Browse the repository at this point in the history
Fix dist
  • Loading branch information
ohadbitt authored Jan 27, 2025
1 parent df63674 commit e70bd7f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private[kusto] object KustoReader {
val now = Instant.now(Clock.systemUTC())
for (storage <- storageParameters.storageCredentials) {
storage.authMethod match {
case AuthMethod.Sas =>
case AuthMethod.Key =>
if (!KustoAzureFsSetupCache.updateAndGetPrevStorageAccountAccess(
storage.storageAccountName,
storage.storageAccountKey,
Expand All @@ -251,7 +251,7 @@ private[kusto] object KustoReader {
s"fs.azure.account.key.${storage.storageAccountName}.blob.${storageParameters.endpointSuffix}",
s"${storage.storageAccountKey}")
}
case AuthMethod.Key =>
case AuthMethod.Sas =>
if (!KustoAzureFsSetupCache.updateAndGetPrevSas(
storage.blobContainer,
storage.storageAccountName,
Expand Down

0 comments on commit e70bd7f

Please sign in to comment.