From 111c7cf68803d87129c21815bc6f3f57929a610a Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Wed, 26 Aug 2020 13:51:32 -0700 Subject: [PATCH] use node type agnostic api getter in log commands --- cli/log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/log.go b/cli/log.go index c00482557..b551b5645 100644 --- a/cli/log.go +++ b/cli/log.go @@ -20,7 +20,7 @@ var logList = &cli.Command{ Name: "list", Usage: "List log systems", Action: func(cctx *cli.Context) error { - api, closer, err := GetFullNodeAPI(cctx) + api, closer, err := GetAPI(cctx) if err != nil { return err } @@ -71,7 +71,7 @@ var logSetLevel = &cli.Command{ }, }, Action: func(cctx *cli.Context) error { - api, closer, err := GetFullNodeAPI(cctx) + api, closer, err := GetAPI(cctx) if err != nil { return err }