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",
)