about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJérôme Petazzoni <jerome.petazzoni@gmail.com>2021-12-23T11·14+0100
committerVincent Ambo <mail@tazj.in>2021-12-24T17·06+0300
commitaaf53703443075dc7c54127d390d8bfb6cb206ce (patch)
tree82c0f5810ffdabb332287cacba2c029fe6329018
parent1dd342161550adfc58f3a2ea5e6c5843dc2c5ca9 (diff)
chore: fix env var name in error message
The error message shows the wrong variable name, which might
be confusing for new users.
-rw-r--r--tools/nixery/config/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/config/config.go b/tools/nixery/config/config.go
index 7ec102bd6cee..8ea2edc28c81 100644
--- a/tools/nixery/config/config.go
+++ b/tools/nixery/config/config.go
@@ -70,7 +70,7 @@ func FromEnv() (Config, error) {
 	default:
 		log.WithField("values", []string{
 			"gcs",
-		}).Fatal("NIXERY_STORAGE_BUCKET must be set to a supported value")
+		}).Fatal("NIXERY_STORAGE_BACKEND must be set to a supported value (gcs or filesystem)")
 	}
 
 	return Config{