Merge pull request #162 from prometheus/julius-fix-printf

Add missing argument to Printf call.
pull/163/head
juliusv 12 years ago
commit 3fbf9045d5

@ -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…
Cancel
Save