Skip to content

Commit

Permalink
#22 Fix typo on database check
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Jul 3, 2017
1 parent 002cacd commit 6d1053e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions app/org/elastic4play/services/MigrationSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,11 @@ class MigrationSrv @Inject() (
}

def isMigrating: Boolean = !migrationProcess.isCompleted
def isReady: Boolean = dbindex.indexStatus && !migrationProcess.isCompleted
def isReady: Boolean = dbindex.indexStatus && migrationProcess.isCompleted
}
/* Operation applied to the previous state of the database to get next version */
trait Operation extends ((String Source[JsObject, NotUsed]) (String Source[JsObject, NotUsed]))
object Operation {
lazy val log = Logger(getClass)

def apply(o: (String Source[JsObject, NotUsed]) String Source[JsObject, NotUsed]) = new Operation {
def apply(f: (String Source[JsObject, NotUsed])): (String) Source[JsObject, NotUsed] = o(f)
}
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version := "1.2.0"
version := "1.2.1"

0 comments on commit 6d1053e

Please sign in to comment.