From 6bdd3c94fe410a98c923ab8454ee8ed851bbd3a5 Mon Sep 17 00:00:00 2001 From: TwiN Date: Mon, 9 Jan 2023 23:24:20 -0500 Subject: [PATCH] chore: Add deprecation message for GATUS_CONFIG_FILE --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 5f637a6a..f4aa2267 100644 --- a/main.go +++ b/main.go @@ -57,6 +57,7 @@ func loadConfiguration() (*config.Config, error) { // Backwards compatibility if len(configPath) == 0 { configPath = os.Getenv("GATUS_CONFIG_FILE") + log.Println("WARNING: GATUS_CONFIG_FILE is deprecated. Please use GATUS_CONFIG_PATH instead.") } return config.LoadConfiguration(configPath) }