mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
Add missing argument to Printf call.
This commit is contained in:
parent
6a5d2f68fc
commit
ae316415fe
|
@ -251,7 +251,7 @@ func (t target) GlobalAddress() string {
|
||||||
address := t.address
|
address := t.address
|
||||||
hostname, err := os.Hostname()
|
hostname, err := os.Hostname()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Couldn't get hostname: %s, returning target.Address()")
|
log.Printf("Couldn't get hostname: %s, returning target.Address()", err)
|
||||||
return address
|
return address
|
||||||
}
|
}
|
||||||
for _, localhostRepresentation := range localhostRepresentations {
|
for _, localhostRepresentation := range localhostRepresentations {
|
||||||
|
|
Loading…
Reference in a new issue