mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 15:00:43 +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:
1 file changed
+1
@@ -995,6 +995,7 @@ func NewFlagSet(name string, errorHandling ErrorHandling) *FlagSet {
|
||||
f := &FlagSet{
|
||||
name: name,
|
||||
errorHandling: errorHandling,
|
||||
envPrefix: EnvPrefix,
|
||||
}
|
||||
return f
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user