Merge pull request #3505 from LinuxSuRen/fix-multi-branch-input

Fix Pipeline input failed in multi-branch mode
This commit is contained in:
KubeSphere CI Bot
2021-03-19 14:22:05 +08:00
committed by GitHub
5 changed files with 15 additions and 7 deletions

View File

@@ -112,7 +112,7 @@ func (p *Pipeline) ListPipelines() (*devops.PipelineList, error) {
}
klog.Errorf("API '%s' request response code is '%d'", p.Path, jErr.Code)
} else {
err = fmt.Errorf("unknow errors happend when coumunicate with Jenkins")
err = fmt.Errorf("unknow errors happend when communicate with Jenkins")
}
return nil, err
}