You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parse should try to read each of the variables before failing when checking for required, so that way users do not have to enter each one manually and find each new required variable.
$ go run main.go
required environment variable "DB_PORT" is not set
$ DB_PORT=777 go run main.go
required environment variable "DB_HOST" is not set
$ DB_HOST="localhost" DB_PORT=777 go run main.go
required environment variable "DB_NAMESPACE" is not set
and so on.
Instead, in the above case:
$ go run main.go
required environment variables ["DB_PORT", "DB_HOST", "DB_NAMESPACE", ...] are not set
or
$ go run main.go
required environment variables [
"DB_PORT",
"DB_HOST",
"DB_NAMESPACE",
...
] are not set
The text was updated successfully, but these errors were encountered:
Parse
should try to read each of the variables before failing when checking for required, so that way users do not have to enter each one manually and find each new required variable.and so on.
Instead, in the above case:
or
The text was updated successfully, but these errors were encountered: