Skip to content
Permalink
Browse files

fix(upgrade): Fix log output. (#1774)

  • Loading branch information
benjamingeer committed Dec 14, 2020
1 parent 13cbdab commit b43fab029995467af2f56a380f02d5532ffeabf3
@@ -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(", ")}")

0 comments on commit b43fab0

Please sign in to comment.