submissions: fix null pointer deref
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3cfcbff253
commit
2342981643
@ -134,7 +134,7 @@ func serve(ctx *cli.Context) error {
|
|||||||
Nats: js,
|
Nats: js,
|
||||||
}
|
}
|
||||||
|
|
||||||
srv2, err := internal.NewServer(svc2, nil, internal.WithPathPrefix("/v1"))
|
srv2, err := internal.NewServer(svc2, internal.WithPathPrefix("/v1"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithError(err).Fatal("failed to initialize api server")
|
log.WithError(err).Fatal("failed to initialize api server")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user