Skip to content

Commit

Permalink
bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
czerwonk committed Sep 22, 2018
1 parent edc8e57 commit 8326691
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/prometheus/common/log"
)

const version string = "0.4.2"
const version string = "0.4.3"

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

func init() {
Expand Down Expand Up @@ -95,7 +95,7 @@ func startMonitor(cfg *config.Config) (*mon.Monitor, error) {
host: host,
addresses: make([]net.IP, 0),
delay: time.Duration(10*i) * time.Millisecond,
dns: *dnsNameServer,
dns: *dnsNameServer,
}
targets[i] = t

Expand Down

0 comments on commit 8326691

Please sign in to comment.