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 17, 2018
1 parent f14e4b5 commit ce27e4e
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 ce27e4e

Please sign in to comment.