Skip to content

Commit 8326691

Browse files
committed
bumped version
1 parent edc8e57 commit 8326691

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/prometheus/common/log"
2020
)
2121

22-
const version string = "0.4.2"
22+
const version string = "0.4.3"
2323

2424
var (
2525
showVersion = flag.Bool("version", false, "Print version information")
@@ -29,8 +29,8 @@ var (
2929
pingInterval = flag.Duration("ping.interval", time.Duration(5)*time.Second, "Interval for ICMP echo requests")
3030
pingTimeout = flag.Duration("ping.timeout", time.Duration(4)*time.Second, "Timeout for ICMP echo request")
3131
dnsRefresh = flag.Duration("dns.refresh", time.Duration(1)*time.Minute, "Interval for refreshing DNS records and updating targets accordingly (0 if disabled)")
32-
dnsNameServer = flag.String("dns.nameserver", "", "DNS server used to resolve hostname of targets")
33-
logLevel = flag.String("log.level", "info", "Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]")
32+
dnsNameServer = flag.String("dns.nameserver", "", "DNS server used to resolve hostname of targets")
33+
logLevel = flag.String("log.level", "info", "Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]")
3434
)
3535

3636
func init() {
@@ -95,7 +95,7 @@ func startMonitor(cfg *config.Config) (*mon.Monitor, error) {
9595
host: host,
9696
addresses: make([]net.IP, 0),
9797
delay: time.Duration(10*i) * time.Millisecond,
98-
dns: *dnsNameServer,
98+
dns: *dnsNameServer,
9999
}
100100
targets[i] = t
101101

0 commit comments

Comments
 (0)