Skip to content

Commit

Permalink
Fix CLI init
Browse files Browse the repository at this point in the history
  • Loading branch information
cannium committed Apr 21, 2023
1 parent cf7fd2f commit b0116df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/rpcdaemon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
func main() {
cmd, cfg := cli.RootCommand()
rootCtx, rootCancel := common.RootContext()
cmd.AddCommand(GetExportCmd(cfg, rootCtx, rootCancel))
cmd.RunE = func(cmd *cobra.Command, args []string) error {
ctx := cmd.Context()
logger := logging.GetLoggerCmd("rpcdaemon", cmd)
Expand Down

0 comments on commit b0116df

Please sign in to comment.