config: remove unused gatewayURL from gitserver config
This commit is contained in:
parent
ea025638ff
commit
0ec0a37fa3
|
@ -129,8 +129,6 @@ type Gitserver struct {
|
|||
|
||||
DataDir string `yaml:"dataDir"`
|
||||
|
||||
GatewayURL string `yaml:"gatewayURL"`
|
||||
|
||||
Web Web `yaml:"web"`
|
||||
Etcd Etcd `yaml:"etcd"`
|
||||
ObjectStorage ObjectStorage `yaml:"objectStorage"`
|
||||
|
@ -344,9 +342,6 @@ func Validate(c *Config) error {
|
|||
if c.Gitserver.DataDir == "" {
|
||||
return errors.Errorf("git server dataDir is empty")
|
||||
}
|
||||
if c.Gitserver.GatewayURL == "" {
|
||||
return errors.Errorf("git server gatewayURL is empty")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue