config: remove unused gatewayURL from gitserver config

This commit is contained in:
Simone Gotti 2019-07-04 10:55:12 +02:00
parent ea025638ff
commit 0ec0a37fa3
1 changed files with 0 additions and 5 deletions

View File

@ -129,8 +129,6 @@ type Gitserver struct {
DataDir string `yaml:"dataDir"` DataDir string `yaml:"dataDir"`
GatewayURL string `yaml:"gatewayURL"`
Web Web `yaml:"web"` Web Web `yaml:"web"`
Etcd Etcd `yaml:"etcd"` Etcd Etcd `yaml:"etcd"`
ObjectStorage ObjectStorage `yaml:"objectStorage"` ObjectStorage ObjectStorage `yaml:"objectStorage"`
@ -344,9 +342,6 @@ func Validate(c *Config) error {
if c.Gitserver.DataDir == "" { if c.Gitserver.DataDir == "" {
return errors.Errorf("git server dataDir is empty") return errors.Errorf("git server dataDir is empty")
} }
if c.Gitserver.GatewayURL == "" {
return errors.Errorf("git server gatewayURL is empty")
}
return nil return nil
} }