未验证 提交 0838ceb5 编写于 作者: Z Zhuxiaoyang 提交者: GitHub

Merge branch 'master' into master

......@@ -216,7 +216,5 @@ func logQuery(level log.LogQueryLevel, request *restful.Request) *es.QueryResult
param.Size = 10
}
glog.Infof("LogQuery with %v", param)
return es.Query(param)
}
......@@ -474,6 +474,7 @@ func syncFluentbitCRDOutputWithConfigMap(outputs []fb.OutputPlugin) error {
crdcs, scheme, err := createCRDClientSet()
if err != nil {
glog.Errorln(err)
return err
}
......@@ -482,12 +483,14 @@ func syncFluentbitCRDOutputWithConfigMap(outputs []fb.OutputPlugin) error {
fluentbit, err := crdclient.Get("fluent-bit")
if err != nil {
glog.Errorln(err)
return err
}
fluentbit.Spec.Output = enabledOutputs
_, err = crdclient.Update("fluent-bit", fluentbit)
if err != nil {
glog.Errorln(err)
return err
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册