[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 03/05: renaming
From: |
gnunet |
Subject: |
[libeufin] 03/05: renaming |
Date: |
Mon, 11 Oct 2021 09:51:03 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit 0a01af87e2d27e6cb2380b06db6382dbf66dc33b
Author: ms <ms@taler.net>
AuthorDate: Mon Oct 11 09:26:50 2021 +0200
renaming
---
util/src/main/kotlin/Config.kt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/util/src/main/kotlin/Config.kt b/util/src/main/kotlin/Config.kt
index bda57ea..8a9aa43 100644
--- a/util/src/main/kotlin/Config.kt
+++ b/util/src/main/kotlin/Config.kt
@@ -51,12 +51,12 @@ fun setLogLevel(logLevel: String?) {
}
fun getValueFromEnv(varName: String): String? {
- val hostName = System.getenv(varName)
- if (hostName.isNullOrBlank() or hostName.isNullOrEmpty()) {
+ val ret = System.getenv(varName)
+ if (ret.isNullOrBlank() or ret.isNullOrEmpty()) {
println("WARNING, $varName was not found in the environment. Will stay
unknown")
return null
}
- return hostName
+ return ret
}
fun getDbConnFromEnv(varName: String): String {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.