watchtower: rename DefaultPeerPortStr -> DefaultListenAddr

This commit is contained in:
Conner Fromknecht committed 2019-06-20 17:04:03 -07:00
1 parent b98bc76878
commit 7e81a5144e
2 files changed
+6 -4

No files matched your search

+3 -2
View File
@@ -28,8 +28,9 @@ const (
)
var (
// DefaultPeerPortStr is the default server port as a string.
DefaultPeerPortStr = fmt.Sprintf(":%d", DefaultPeerPort)
// DefaultListenAddr is the default watchtower address listening on all
// interfaces.
DefaultListenAddr = fmt.Sprintf(":%d", DefaultPeerPort)
)
// Config defines the resources and parameters used to configure a Watchtower.