Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
jsaun committed Dec 18, 2024
1 parent fdfb13f commit afd724a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class CromwellAppInstall[F[_]](config: CoaAppConfig,

// Get the pet userToken
tokenOpt <- samDao.getCachedArbitraryPetAccessToken(params.app.auditInfo.creator)
userToken <- tokenOpt.getOrElse("") // Empty token when running on Azure.
userToken <- F.pure(tokenOpt.getOrElse("")) // Empty token when running on Azure.

values = List(
// azure resources configs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class CromwellRunnerAppInstall[F[_]](config: CromwellRunnerAppConfig,

// Get the pet userToken
tokenOpt <- samDao.getCachedArbitraryPetAccessToken(params.app.auditInfo.creator)
userToken <- tokenOpt.getOrElse("") // Empty token when running on Azure.
userToken <- F.pure(tokenOpt.getOrElse("")) // Empty token when running on Azure.

values = List(
// azure resources configs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class WdsAppInstall[F[_]](config: WdsAppConfig,

// Get the pet userToken
tokenOpt <- samDao.getCachedArbitraryPetAccessToken(params.app.auditInfo.creator)
userToken <- tokenOpt.getOrElse("") // Empty token when running on Azure.
userToken <- C(tokenOpt.getOrElse("")) // Empty token when running on Azure.

valuesList =
List(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class WorkflowsAppInstall[F[_]](config: WorkflowsAppConfig,

// Get the pet userToken
tokenOpt <- samDao.getCachedArbitraryPetAccessToken(params.app.auditInfo.creator)
userToken <- tokenOpt.getOrElse("") // Empty token when running on Azure.
userToken <- F.pure(tokenOpt.getOrElse("")) // Empty token when running on Azure.

values =
List(
Expand Down

0 comments on commit afd724a

Please sign in to comment.