diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-06-10 21:24:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-10 21:24:06 +0800 |
commit | ce88d41907f0cb1146a2f7228ccd61669f8d8b91 (patch) | |
tree | c742c17da28dc67f41d9779eec0bc3427432e044 /cmd/geth/monitorcmd.go | |
parent | 63d1d145e2b2c8db4106d87767842019492e0aea (diff) | |
parent | 90e07b19abaa950eaaff2eecc4918b1d16ebbcaf (diff) | |
download | dexon-ce88d41907f0cb1146a2f7228ccd61669f8d8b91.tar dexon-ce88d41907f0cb1146a2f7228ccd61669f8d8b91.tar.gz dexon-ce88d41907f0cb1146a2f7228ccd61669f8d8b91.tar.bz2 dexon-ce88d41907f0cb1146a2f7228ccd61669f8d8b91.tar.lz dexon-ce88d41907f0cb1146a2f7228ccd61669f8d8b91.tar.xz dexon-ce88d41907f0cb1146a2f7228ccd61669f8d8b91.tar.zst dexon-ce88d41907f0cb1146a2f7228ccd61669f8d8b91.zip |
Merge pull request #2681 from karalabe/fix-cli-deprecation
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 |