From 0dbc69782c9eade591413c9f0ba6e0576ca2aa00 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Sat, 4 Jan 2020 21:51:29 +0100 Subject: [PATCH] rename home config parameter --- src/main/kotlin/de/joshavg/Builds.kt | 2 +- src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/de/joshavg/Builds.kt b/src/main/kotlin/de/joshavg/Builds.kt index e7cd3e5..5425f4c 100644 --- a/src/main/kotlin/de/joshavg/Builds.kt +++ b/src/main/kotlin/de/joshavg/Builds.kt @@ -17,7 +17,7 @@ data class BuildConfig(val exec: String, } @ApplicationScoped -class Builds(@ConfigProperty(name = "alfred.home") +class Builds(@ConfigProperty(name = "ALFRED_HOME") val home: String) { fun buildConfig(build: String): BuildConfig { diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 93e41d9..f654e75 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,4 @@ # Configuration file # key = value -alfred.home=/tmp/alfred +ALFRED_HOME=/tmp/alfred