Skip to content

Commit

Permalink
cleanup go mod dep and add link to original function
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasMahe committed May 21, 2020
1 parent 940fcc0 commit 28a2f36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions cmd/mesg-daemon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func main() {
Use: version.ServerName,
Short: "Engine Daemon (server)",
PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
// adapted version of function from https://github.com/cosmos/cosmos-sdk/blob/v0.38.3/server/util.go#L49-L74
if err := server.PersistentPreRunEFn(ctx)(cmd, args); err != nil {
return err
}
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ require (
github.com/prometheus/client_golang v1.5.1
github.com/prometheus/procfs v0.0.11 // indirect
github.com/pseudomuto/protoc-gen-doc v1.3.1
github.com/rakyll/statik v0.1.6
github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962 // indirect
github.com/sirupsen/logrus v1.5.0 // indirect
github.com/spf13/afero v1.2.2 // indirect
Expand Down

0 comments on commit 28a2f36

Please sign in to comment.