We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4407a1 commit 67dd6d6Copy full SHA for 67dd6d6
go/cmd/doorman/doorman_server.go
@@ -33,6 +33,7 @@ import (
33
34
"github.com/youtube/doorman/go/configuration"
35
"github.com/youtube/doorman/go/connection"
36
+ "github.com/youtube/doorman/go/flagenv"
37
"github.com/youtube/doorman/go/server/doorman"
38
"github.com/youtube/doorman/go/server/election"
39
"github.com/youtube/doorman/go/status"
@@ -136,6 +137,9 @@ func getServerID(port int) string {
136
137
138
func main() {
139
flag.Parse()
140
+ if err := flagenv.Populate(flag.CommandLine, "DOORMAN"); err != nil {
141
+ log.Exit(err)
142
+ }
143
144
if *config == "" {
145
log.Exit("--config cannot be empty")
0 commit comments