lib/template/src/main/scala/com/twitter/birdname/Main.scala.erb in scala-bootstrapper-0.4.0 vs lib/template/src/main/scala/com/twitter/birdname/Main.scala.erb in scala-bootstrapper-0.5.0
- old
+ new
@@ -3,10 +3,10 @@
import com.twitter.admin._
object Main {
def main(args: Array[String]) {
val env = RuntimeEnvironment(this, args)
- val impl = env.loadRuntimeConfig[BirdNameService]
- impl.start
+ val service = env.loadRuntimeConfig[BirdNameService]
+ service.start()
}
}