Skip to content

Commit

Permalink
Rm unused interface
Browse files Browse the repository at this point in the history
Signed-off-by: Saswata Mukherjee <[email protected]>
  • Loading branch information
saswatamcode committed Aug 18, 2022
1 parent d4117fe commit 779627d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/receive/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ const forwardTimeout = 5 * time.Second
// DefaultRequestLimit is the size limit of a request body coming in
const DefaultRequestLimit = 128 * 1024

// ClusterAuthorizer authorizes a cluster by its token and id, returning a subject or error
type ClusterAuthorizer interface {
AuthorizeCluster(token, cluster string) (subject string, err error)
}

// Handler knows the forwardURL for all requests
type Handler struct {
ForwardURL string
Expand Down

0 comments on commit 779627d

Please sign in to comment.