Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
gudaoxuri committed Aug 20, 2016
2 parents 8ee66ac + f1cebea commit fef1cef
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@ object RedisProcessor extends LazyLogging {
simpleRedis.auth(auth, new Handler[AsyncResult[String]] {
override def handle(event: AsyncResult[String]): Unit = {
if (event.succeeded()) {
c.countDown()
resp = Resp.success("Redis client started")
c.countDown()
} else {
logger.error("Redis client start fail.", event.cause())
c.countDown()
resp = Resp.serverError(event.cause().getMessage)
c.countDown()
}
}
})
} else {
c.countDown()
resp = Resp.success("Redis client started")
c.countDown()
}
} else {
logger.error("Redis client start fail.", event.cause())
c.countDown()
resp = Resp.serverError(event.cause().getMessage)
c.countDown()
}
}
})
Expand Down

0 comments on commit fef1cef

Please sign in to comment.