* Fix #22
* bump version to 1.0.1
This commit is contained in:
moonug 2018-11-25 00:05:52 +03:00 committed by Steve Brunton
parent 909b176ce4
commit 4264ed930f
2 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
1.0.0
1.0.1

View File

@ -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