未验证 提交 17f9b087 编写于 作者: R runzexia

refmt code

Signed-off-by: Nrunzexia <runzexia@yunify.com>
上级 30730926
...@@ -189,7 +189,6 @@ func CreateClientSet(conf *apiserverconfig.Config, stopCh <-chan struct{}) error ...@@ -189,7 +189,6 @@ func CreateClientSet(conf *apiserverconfig.Config, stopCh <-chan struct{}) error
SetPrometheusOptions(conf.MonitoringOptions). SetPrometheusOptions(conf.MonitoringOptions).
SetRedisOptions(conf.RedisOptions) SetRedisOptions(conf.RedisOptions)
client.NewClientSetFactory(csop, stopCh) client.NewClientSetFactory(csop, stopCh)
return nil return nil
......
...@@ -103,7 +103,7 @@ func searchPipelineCount(req *http.Request) (int, error) { ...@@ -103,7 +103,7 @@ func searchPipelineCount(req *http.Request) (int, error) {
query.Set("limit", "1000") query.Set("limit", "1000")
query.Set("depth", "-1") query.Set("depth", "-1")
baseUrl := devops.Jenkins().Server + SearchPipelineUrl + query.Encode() baseUrl := devops.Jenkins().Server + SearchPipelineUrl + query.Encode()
klog.V(4).Info("Jenkins-url: " + baseUrl) klog.V(4).Info("Jenkins-url: " + baseUrl)
res, err := sendJenkinsRequest(baseUrl, req) res, err := sendJenkinsRequest(baseUrl, req)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册