Merge pull request #656 from huanggze/log-2.1

logging: use elastic client for go
This commit is contained in:
KubeSphere CI Bot
2019-09-09 13:34:09 +08:00
committed by GitHub
799 changed files with 174665 additions and 69 deletions

View File

@@ -333,7 +333,7 @@ func syncFluentbitCRDOutputWithConfigMap(outputs []fb.OutputPlugin) error {
}
// Parse es host, port and index
func ParseEsOutputParams(params []fb.Parameter) *es.ESConfigs {
func ParseEsOutputParams(params []fb.Parameter) *es.Config {
var (
isEsFound bool
@@ -377,5 +377,5 @@ func ParseEsOutputParams(params []fb.Parameter) *es.ESConfigs {
}
}
return &es.ESConfigs{Host: host, Port: port, Index: index}
return &es.Config{Host: host, Port: port, Index: index}
}