mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: ipv6-only mode compatibility fixes (#23031)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -418,6 +418,10 @@ func parseOptions(optStruct interface{}, args []string, configFileName string, s
|
||||
consts.SetTaskWorkerCount(optionsRef.TaskWorkerCount)
|
||||
consts.SetLocalTaskWorkerCount(optionsRef.LocalTaskWorkerCount)
|
||||
consts.SetTaskArchiveThresholdHours(optionsRef.TaskArchiveThresholdHours)
|
||||
|
||||
if optionsRef.Address == "0.0.0.0" {
|
||||
optionsRef.Address = ""
|
||||
}
|
||||
}
|
||||
|
||||
func (self *BaseOptions) HttpTransportProxyFunc() httputils.TransportProxyFunc {
|
||||
|
||||
Reference in New Issue
Block a user