We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15c2b7b commit b748da6Copy full SHA for b748da6
2 files changed
cmd/skylight/skylight.go
@@ -455,6 +455,9 @@ func main() {
455
s.TLSConfig.KeyLogWriter = keylog.Writer
456
}
457
458
+ if len(c.Listen) == 0 {
459
+ fatalError(logger, "no Listen addresses specified in config")
460
+ }
461
serveGroup, ctx := errgroup.WithContext(ctx)
462
for _, addr := range c.Listen {
463
l, err := net.Listen("tcp", addr)
cmd/sunlight/sunlight.go
@@ -756,6 +756,9 @@ func main() {
756
757
758
759
760
761
762
763
764
if err != nil {
0 commit comments