1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-29 13:50:10 +02:00

Merge pull request #1851 from bingoohuang/master

fix bug to use env with prefix WEED_ in configuration files which simply the boringly long command line arguments
This commit is contained in:
Chris Lu 2021-02-28 18:04:54 -08:00 committed by GitHub
commit b67b22f119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -995,6 +995,7 @@ func NewFlagSet(name string, errorHandling ErrorHandling) *FlagSet {
f := &FlagSet{
name: name,
errorHandling: errorHandling,
envPrefix: EnvPrefix,
}
return f
}