linter
This commit is contained in:
parent
e528522ad5
commit
143a86a28a
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue