fix golint problem

This commit is contained in:
yw-liu
2020-04-17 00:21:48 +08:00
parent 0fc311a8b7
commit c9fc6b5bcf
2 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -27,12 +27,12 @@ import (
const (
gitPullMethodEnvKey = "GIT_PULL_METHOD"
gitPullMethodHttps = "https"
gitPullMethodHttp = "http"
gitPullMethodHTTPS = "https"
gitPullMethodHTTP = "http"
)
var (
supportedGitPullMethods = map[string]bool{gitPullMethodHttps: true, gitPullMethodHttp: true}
supportedGitPullMethods = map[string]bool{gitPullMethodHTTPS: true, gitPullMethodHTTP: true}
)
// Git unifies calls to download and unpack the build context.