File: fqdn_pre18.go

package info (click to toggle)
golang-github-newrelic-go-agent 3.15.2-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 8,356 kB
  • sloc: sh: 65; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// +build !go1.8

package utilization

// net.Resolver.LookupAddr was added in Go 1.8, and net.LookupAddr does not have
// a controllable timeout, so we skip the optional full_hostname on pre 1.8
// versions.

func getFQDN(candidateIPs []string) string {
	return ""
}