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/ethtest/main.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/ethtest/main.go')
-rw-r--r-- | cmd/ethtest/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ethtest/main.go b/cmd/ethtest/main.go index 450dadcbb..e0ad0a7ea 100644 --- a/cmd/ethtest/main.go +++ b/cmd/ethtest/main.go @@ -183,7 +183,7 @@ func runSuite(test, file string) { } } -func setupApp(c *cli.Context) { +func setupApp(c *cli.Context) error { flagTest := c.GlobalString(TestFlag.Name) flagFile := c.GlobalString(FileFlag.Name) continueOnError = c.GlobalBool(ContinueOnErrorFlag.Name) @@ -196,8 +196,8 @@ func setupApp(c *cli.Context) { if err := runTestWithReader(flagTest, os.Stdin); err != nil { glog.Fatalln(err) } - } + return nil } func main() { |