未验证 提交 a5ec7b4b 编写于 作者: R rick

Set a explicit loggger level in func SendPureRequestWithHeaderResp

Signed-off-by: Nrick <1450685+LinuxSuRen@users.noreply.github.com>
上级 054d85e6
......@@ -36,7 +36,7 @@ func (j *Jenkins) SendPureRequest(path string, httpParameters *devops.HttpParame
func (j *Jenkins) SendPureRequestWithHeaderResp(path string, httpParameters *devops.HttpParameters) ([]byte, http.Header, error) {
apiURL, err := url.Parse(j.Server + path)
if err != nil {
klog.Error(err)
klog.V(8).Info(err)
return nil, nil, err
}
......
......@@ -40,7 +40,7 @@ func TestParseJenkinsQuery(t *testing.T) {
}
for index, item := range table {
result, err := parseJenkinsQuery(item.param)
result, err := ParseJenkinsQuery(item.param)
if item.err {
assert.NotNil(t, err, "index: [%d], unexpected error happen %v", index, err)
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册