Skip to content

Commit

Permalink
call register on grpc auth
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Feb 13, 2024
1 parent d315c25 commit 86f048c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions server/cmd/blockmeta/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"github.com/streamingfast/blockmeta-service/server"
"github.com/streamingfast/dauth"
_ "github.com/streamingfast/dauth/grpc"
_ "github.com/streamingfast/dauth/null"
authGrpc "github.com/streamingfast/dauth/grpc"
authNull "github.com/streamingfast/dauth/null"
"github.com/streamingfast/derr"
"go.uber.org/zap"
)
Expand All @@ -25,6 +25,9 @@ func main() {
flag.Parse()
ctx := context.Background()

authGrpc.Register()
authNull.Register()

if *sinkServerAddress == "" {
zlog.Error("sink server address is required")
os.Exit(1)
Expand Down

0 comments on commit 86f048c

Please sign in to comment.