1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00

Merge pull request #2288 from jesselang/feature/drone-host-must-include-scheme

Fix DRONE_HOST check
This commit is contained in:
Brad Rydzewski 2017-12-20 08:35:17 -05:00 committed by GitHub
commit 9293d1b74d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -483,7 +483,7 @@ func server(c *cli.Context) error {
)
}
if !strings.HasSuffix(c.String("server-host"), "/") {
if strings.HasSuffix(c.String("server-host"), "/") {
logrus.Fatalln(
"DRONE_HOST must not have trailing slash",
)