mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-22 16:36:30 +00:00
Typo
This commit is contained in:
parent
d982f73f8e
commit
c250926460
1 changed files with 4 additions and 4 deletions
|
@ -48,19 +48,19 @@ func Load(config string) *BitbucketServer{
|
||||||
bitbucketserver.URL = url_.String()
|
bitbucketserver.URL = url_.String()
|
||||||
bitbucketserver.GitUserName = params.Get("git_username")
|
bitbucketserver.GitUserName = params.Get("git_username")
|
||||||
if bitbucketserver.GitUserName == "" {
|
if bitbucketserver.GitUserName == "" {
|
||||||
log.FatalLevel("Must have a git_username")
|
log.Fatalln("Must have a git_username")
|
||||||
}
|
}
|
||||||
bitbucketserver.GitPassword = params.Get("git_password")
|
bitbucketserver.GitPassword = params.Get("git_password")
|
||||||
if bitbucketserver.GitPassword == "" {
|
if bitbucketserver.GitPassword == "" {
|
||||||
log.FatalLevel("Must have a git_password")
|
log.Fatalln("Must have a git_password")
|
||||||
}
|
}
|
||||||
bitbucketserver.ConsumerKey = params.Get("consumer_key")
|
bitbucketserver.ConsumerKey = params.Get("consumer_key")
|
||||||
if bitbucketserver.ConsumerKey == "" {
|
if bitbucketserver.ConsumerKey == "" {
|
||||||
log.FatalLevel("Must have a consumer_key")
|
log.Fatalln("Must have a consumer_key")
|
||||||
}
|
}
|
||||||
bitbucketserver.ConsumerRSA = params.Get("consumer_rsa")
|
bitbucketserver.ConsumerRSA = params.Get("consumer_rsa")
|
||||||
if bitbucketserver.ConsumerRSA == "" {
|
if bitbucketserver.ConsumerRSA == "" {
|
||||||
log.FatalLevel("Must have a consumer_rsa")
|
log.Fatalln("Must have a consumer_rsa")
|
||||||
}
|
}
|
||||||
|
|
||||||
bitbucketserver.Open, _ = strconv.ParseBool(params.Get("open"))
|
bitbucketserver.Open, _ = strconv.ParseBool(params.Get("open"))
|
||||||
|
|
Loading…
Reference in a new issue