Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(upgrade): Fix log output. (#1774)
  • Loading branch information
Benjamin Geer committed Dec 14, 2020
1 parent 13cbdab commit b43fab0
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -88,7 +88,11 @@ class RepositoryUpdater(system: ActorSystem,
FastFuture.successful(RepositoryUpdatedResponse(s"Repository is up to date at $requiredRepositoryVersion"))
} else {
// No. Construct the list of updates that it needs.
log.info(s"Repository not up-to-date. Found: $foundRepositoryVersion, Required: $requiredRepositoryVersion")

log.info(
s"Repository not up-to-date. Found: ${foundRepositoryVersion.getOrElse("None")}, Required: $requiredRepositoryVersion"
)

val selectedPlugins: Seq[PluginForKnoraBaseVersion] = selectPluginsForNeededUpdates(foundRepositoryVersion)
log.info(s"Updating repository with transformations: ${selectedPlugins.map(_.versionString).mkString(", ")}")

Expand Down

0 comments on commit b43fab0

Please sign in to comment.