Skip to content

Commit 05dd93c

Browse files
committed
fix api keys
1 parent c7dd87c commit 05dd93c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protocol/alterclientquotas/alterclientquotas.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type Response struct {
4646
Results []ResponseQuotas `kafka:"min=v0,max=v1"`
4747
}
4848

49-
func (r *Response) ApiKey() protocol.ApiKey { return protocol.CreateAcls }
49+
func (r *Response) ApiKey() protocol.ApiKey { return protocol.AlterClientQuotas }
5050

5151
type ResponseQuotas struct {
5252
ErrorCode int16 `kafka:"min=v0,max=v1"`

protocol/describeclientquotas/describeclientquotas.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type Response struct {
3838
Entries []ResponseQuotas `kafka:"min=v0,max=v1"`
3939
}
4040

41-
func (r *Response) ApiKey() protocol.ApiKey { return protocol.CreateAcls }
41+
func (r *Response) ApiKey() protocol.ApiKey { return protocol.DescribeClientQuotas }
4242

4343
type Value struct {
4444
Key string `kafka:"min=v0,max=v1"`

0 commit comments

Comments
 (0)