Merge pull request #2288 from jesselang/feature/drone-host-must-include-scheme
Fix DRONE_HOST check
This commit is contained in:
commit
9293d1b74d
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue