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 4631dc251d
commit 2a90581cc6

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{