github.com/newrelic/go-agent@v3.26.0+incompatible/internal/utilization/fqdn_pre18.go (about)

     1  // Copyright 2020 New Relic Corporation. All rights reserved.
     2  // SPDX-License-Identifier: Apache-2.0
     3  
     4  // +build !go1.8
     5  
     6  package utilization
     7  
     8  // net.Resolver.LookupAddr was added in Go 1.8, and net.LookupAddr does not have
     9  // a controllable timeout, so we skip the optional full_hostname on pre 1.8
    10  // versions.
    11  
    12  func getFQDN(candidateIPs []string) string {
    13  	return ""
    14  }