diff --git a/server/cmd/blockmeta/main.go b/server/cmd/blockmeta/main.go index 222dcee..55a011f 100644 --- a/server/cmd/blockmeta/main.go +++ b/server/cmd/blockmeta/main.go @@ -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" ) @@ -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)