refmt code

Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
runzexia
2019-09-12 11:47:12 +08:00
parent 307309269c
commit 17f9b0879f
2 changed files with 1 additions and 2 deletions

View File

@@ -189,7 +189,6 @@ func CreateClientSet(conf *apiserverconfig.Config, stopCh <-chan struct{}) error
SetPrometheusOptions(conf.MonitoringOptions).
SetRedisOptions(conf.RedisOptions)
client.NewClientSetFactory(csop, stopCh)
return nil

View File

@@ -103,7 +103,7 @@ func searchPipelineCount(req *http.Request) (int, error) {
query.Set("limit", "1000")
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)
res, err := sendJenkinsRequest(baseUrl, req)