diff --git a/macaroons/service.go b/macaroons/service.go index 3b3ea7fe..618eb0f8 100644 --- a/macaroons/service.go +++ b/macaroons/service.go @@ -140,8 +140,9 @@ func (svc *Service) StreamServerInterceptor( "for method", info.FullMethod) } - err := svc.ValidateMacaroon(ss.Context(), - permissionMap[info.FullMethod]) + err := svc.ValidateMacaroon( + ss.Context(), permissionMap[info.FullMethod], + ) if err != nil { return err }