Skip to content

Commit

Permalink
Fix admin server
Browse files Browse the repository at this point in the history
  • Loading branch information
wcgcyx committed Jan 5, 2022
1 parent c2a816a commit 8cf04c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions messaging/relayer/cmd/dispatcher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ func main() {
}
return []byte{0}, nil
}
api = adminserver.NewAdminServerImpl(conf.APIPort, apiHandlers)
err = api.Start()
if err != nil {
panic(err)
}
for {
}
}
Expand Down
5 changes: 5 additions & 0 deletions messaging/relayer/cmd/relayer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ func main() {
key = req
return []byte{0}, nil
}
api = adminserver.NewAdminServerImpl(conf.APIPort, apiHandlers)
err = api.Start()
if err != nil {
panic(err)
}

for {
}
Expand Down

0 comments on commit 8cf04c1

Please sign in to comment.