Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

WIP GRPC rate limiting #533

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merge
  • Loading branch information
sarahalsmiller authored and mikemorris committed Apr 5, 2023
commit cec0e96a5e286d2a00e12705df4a896da7a6ce82
6 changes: 3 additions & 3 deletions internal/consul/registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (
"context"
"errors"
"fmt"
"github.com/hashicorp/go-hclog"
"net/http"
"time"

"github.com/cenkalti/backoff"
"github.com/google/uuid"

"github.com/hashicorp/consul/api"
"github.com/hashicorp/go-hclog"
)

const (
Expand Down Expand Up @@ -47,8 +47,8 @@ type ServiceRegistry struct {
}

// NewServiceRegistry creates a new service registry instance
func NewServiceRegistryWithAddress(logger hclog.Logger, client Client, service, namespace, host, address string) *ServiceRegistry {
return newServiceRegistry(logger, client, service, namespace, host, address)
func NewServiceRegistryWithAddress(logger hclog.Logger, client Client, service, namespace, host, partition, address string) *ServiceRegistry {
return newServiceRegistry(logger, client, service, namespace, partition, host, address)
}

// NewServiceRegistry creates a new service registry instance
Expand Down