Skip to content

Commit c6758ca

Browse files
change to var
Signed-off-by: Ethan Gallant <[email protected]>
1 parent 65b69de commit c6758ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/tls_config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ import (
3333

3434
var (
3535
errNoTLSConfig = errors.New("TLS config is not present")
36+
ErrNoListeners = errors.New("no web listen address or systemd socket flag specified")
3637
)
3738

38-
const ErrNoListeners = errors.New("no web listen address or systemd socket flag specified")
39-
4039
type Config struct {
4140
TLSConfig TLSConfig `yaml:"tls_server_config"`
4241
HTTPConfig HTTPConfig `yaml:"http_server_config"`

0 commit comments

Comments
 (0)