mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-06 05:51:54 +00:00
update
This commit is contained in:
parent
a8045aaefb
commit
2dd87ca6c8
@ -74,6 +74,10 @@ func InstanceOfConfiguration() *Configuration {
|
||||
if len(value) != 0 {
|
||||
configurationInstance.HDFSBaseDir = value
|
||||
}
|
||||
value = os.Getenv("DFSBaseDir")
|
||||
if len(value) != 0 {
|
||||
configurationInstance.DFSBaseDir = value
|
||||
}
|
||||
value = os.Getenv("EnableShareRatio")
|
||||
if len(value) != 0 {
|
||||
if val, err := strconv.ParseFloat(value, 32); err == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user