This commit is contained in:
Simon Zolin 2020-01-31 13:26:47 +03:00
parent e528522ad5
commit 143a86a28a
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ func getValidNetInterfaces() ([]net.Interface, error) {
// getValidNetInterfacesMap returns interfaces that are eligible for DNS and WEB only
// we do not return link-local addresses here
// nolint:dupl
func getValidNetInterfacesForWeb() ([]netInterface, error) {
ifaces, err := getValidNetInterfaces()
if err != nil {

View File

@ -51,6 +51,7 @@ func getValidNetInterfaces() ([]net.Interface, error) {
// getValidNetInterfacesMap returns interfaces that are eligible for DNS and WEB only
// we do not return link-local addresses here
// nolint:dupl
func getValidNetInterfacesForWeb() ([]netInterface, error) {
ifaces, err := getValidNetInterfaces()
if err != nil {