Fix DRONE_HOST check

This commit is contained in:
Jesse Lang 2017-12-20 06:49:02 -06:00
parent 453f415cc4
commit b339532e0c

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( logrus.Fatalln(
"DRONE_HOST must not have trailing slash", "DRONE_HOST must not have trailing slash",
) )