chore: fix env var name in error message

The error message shows the wrong variable name, which might
be confusing for new users.
This commit is contained in:
Jérôme Petazzoni 2021-12-23 12:14:49 +01:00 committed by Vincent Ambo
parent 1dd3421615
commit aaf5370344

View file

@ -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{