diff --git a/VERSION b/VERSION index afaf360..7dea76e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0 \ No newline at end of file +1.0.1 diff --git a/main.go b/main.go index b4b3ba4..2758f29 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,6 @@ import ( "flag" "io/ioutil" "os" - "time" "fmt" "net/http" @@ -37,7 +36,7 @@ var ( withOptics = flag.Bool("with-optics", false, "retrieves optical diagnostic metrics") withWlanSTA = flag.Bool("with-wlansta", false, "retrieves connected wlan station metrics") withWlanIF = flag.Bool("with-wlanif", false, "retrieves wlan interface metrics") - timeout = flag.Duration("timeout", collector.DefaultTimeout*time.Second, "timeout when connecting to routers") + timeout = flag.Duration("timeout", collector.DefaultTimeout, "timeout when connecting to routers") tls = flag.Bool("tls", false, "use tls to connect to routers") insecure = flag.Bool("insecure", false, "skips verification of server certificate when using TLS (not recommended)") cfg *config.Config