mirror of
https://github.com/slackhq/nebula.git
synced 2024-11-10 17:24:37 +08:00
No context needed for this error
This commit is contained in:
parent
b4b5818085
commit
6792af6846
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -246,7 +246,7 @@ func Main(config *Config, configTest bool, buildVersion string, logger *logrus.L
|
|||
|
||||
// fatal if am_lighthouse is enabled but we are using an ephemeral port
|
||||
if amLighthouse && (config.GetInt("listen.port", 0) == 0) {
|
||||
return nil, NewContextualError("lighthouse.am_lighthouse enabled on node but no port number is set in config", nil, err)
|
||||
return nil, errors.New("lighthouse.am_lighthouse enabled on node but no port number is set in config")
|
||||
}
|
||||
|
||||
// warn if am_lighthouse is enabled but upstream lighthouses exists
|
||||
|
|
Loading…
Reference in a new issue