Fix regression that caused an infinite loop in service initialization
authorChristos KK Loverdos <loverdos@gmail.com>
Thu, 15 Dec 2011 13:03:12 +0000 (15:03 +0200)
committerChristos KK Loverdos <loverdos@gmail.com>
Thu, 15 Dec 2011 13:03:32 +0000 (15:03 +0200)
logic/src/main/scala/gr/grnet/aquarium/store/mongodb/MongoDBStoreProvider.scala

index df7097f..cb19d56 100644 (file)
@@ -55,9 +55,6 @@ class MongoDBStoreProvider extends StoreProvider with Configurable {
   private[this] var _eventStore: EventStore = _
 
   def configure(props: Props) = {
-    import MasterConf.{MasterConf, Keys}
-    val props = MasterConf.props
-
     this._database = props.getEx(Keys.persistence_db)
     this._username = props.getEx(Keys.persistence_username)
     this._password = props.getEx(Keys.persistence_password)