Skip to content

Commit

Permalink
change deprecated function, this should pass again
Browse files Browse the repository at this point in the history
  • Loading branch information
THWiseman committed Dec 7, 2023
1 parent a3e39b8 commit e7c9df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/Publishing.scala
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ object Publishing {
val additionalResolvers = List(
broadArtifactoryResolver,
broadArtifactoryResolverSnap,
Resolver.sonatypeRepo("releases")
Resolver.sonatypeOssRepos("releases")
)

private val artifactoryCredentialsFile =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ object TesAsyncBackendJobExecutionActor {
blobFiles.headOption
.map { blobPath =>
blobPath.getFilesystemManager.blobTokenGenerator match {
case wsmGenerator: WSMBlobSasTokenGenerator => wsmGenerator.getWSMSasFetchEndpoint(blobPath, Some(Duration.of(24, ChronoUnit.HOURS)))
case wsmGenerator: WSMBlobSasTokenGenerator =>
wsmGenerator.getWSMSasFetchEndpoint(blobPath, Some(Duration.of(24, ChronoUnit.HOURS)))
case _ =>
Failure(new UnsupportedOperationException("Blob file does not have an associated WSMBlobSasTokenGenerator"))
}
Expand Down

0 comments on commit e7c9df8

Please sign in to comment.