[release/1.4.7] cmd: fix CLI package deprecation warnings

(cherry picked from commit 90e07b19ab)
This commit is contained in:
Péter Szilágyi
2016-06-10 11:23:00 +03:00
parent c89fa789b7
commit 63c5a46b82
8 changed files with 55 additions and 27 deletions

View File

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