Skip to content

Commit

Permalink
chore: fix env var name in error message
Browse files Browse the repository at this point in the history
The error message shows the wrong variable name, which might
be confusing for new users.
  • Loading branch information
jpetazzo authored and tazjin committed Dec 24, 2021
1 parent 4631dc2 commit 2a90581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 2a90581

Please sign in to comment.