fix funtion
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
func getConfigFromEnv(string item) {
|
||||
func getConfigFromEnv(item string) {
|
||||
var res = ""
|
||||
value := os.Getenv("CONFIG_ENVVAR")
|
||||
if value == "" {
|
||||
@@ -28,6 +28,7 @@ func getConfigFromEnv(string item) {
|
||||
} else {
|
||||
res = "NOTFOUND"
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
func serveTemplate(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user