Skip to content

Commit

Permalink
remove the duplicate method
Browse files Browse the repository at this point in the history
  • Loading branch information
chandradeepak committed Mar 16, 2018
1 parent 2d9e70e commit b12bde3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,17 +386,6 @@ func (b *Broker) ApiVersions(request *ApiVersionsRequest) (*ApiVersionsResponse,
return response, nil
}

func (b *Broker) CreatePartitions(request *CreatePartitionsRequest) (*CreatePartitionsResponse, error) {
response := new(CreatePartitionsResponse)

err := b.sendAndReceive(request, response)
if err != nil {
return nil, err
}

return response, nil
}

func (b *Broker) CreateTopics(request *CreateTopicsRequest) (*CreateTopicsResponse, error) {
response := new(CreateTopicsResponse)

Expand Down

0 comments on commit b12bde3

Please sign in to comment.