Skip to content

Commit

Permalink
Add missing methods to peersContainer
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Camata <[email protected]>
  • Loading branch information
douglascamata committed Jan 8, 2024
1 parent 7406300 commit fab1c8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/receive/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,10 @@ func newPeerGroup(backoff backoff.Backoff, dialOpts ...grpc.DialOption) peersCon
type peersContainer interface {
close(string) error
get(context.Context, string) (storepb.WriteableStoreClient, error)
markPeerDown(string)
markPeerUp(string)
isPeerUp(string) bool
resetBackoff()
}

type peerGroup struct {
Expand Down

0 comments on commit fab1c8e

Please sign in to comment.