diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-06-10 16:23:00 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-06-10 16:23:00 +0800 |
commit | 90e07b19abaa950eaaff2eecc4918b1d16ebbcaf (patch) | |
tree | c742c17da28dc67f41d9779eec0bc3427432e044 /cmd/geth/monitorcmd.go | |
parent | 63d1d145e2b2c8db4106d87767842019492e0aea (diff) | |
download | go-tangerine-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar go-tangerine-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.gz go-tangerine-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.bz2 go-tangerine-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.lz go-tangerine-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.xz go-tangerine-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.zst go-tangerine-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.zip |
cmd: fix CLI package deprecation warnings
Diffstat (limited to 'cmd/geth/monitorcmd.go')
-rw-r--r-- | cmd/geth/monitorcmd.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/geth/monitorcmd.go b/cmd/geth/monitorcmd.go index 7058b432f..11fdca89c 100644 --- a/cmd/geth/monitorcmd.go +++ b/cmd/geth/monitorcmd.go @@ -67,7 +67,7 @@ to display multiple metrics simultaneously. ) // monitor starts a terminal UI based monitoring tool for the requested metrics. -func monitor(ctx *cli.Context) { +func monitor(ctx *cli.Context) error { var ( client rpc.Client err error @@ -154,6 +154,7 @@ func monitor(ctx *cli.Context) { } }() termui.Loop() + return nil } // retrieveMetrics contacts the attached geth node and retrieves the entire set |