Skip to content

Commit

Permalink
DeleteTopcic -> DeleteTopic
Browse files Browse the repository at this point in the history
  • Loading branch information
Mongey committed Feb 4, 2018
1 parent 06ed286 commit bde19c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kafka/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func NewClient(config *Config) (*Client, error) {
}, kafkaConfig.Validate()
}

func (c *Client) DeleteTopcic(t string) error {
func (c *Client) DeleteTopic(t string) error {
broker, err := c.availableBroker()

if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion kafka/resource_kafka_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func topicDelete(d *schema.ResourceData, meta interface{}) error {
c := meta.(*Client)
t := metaToTopic(d, meta)

err := c.DeleteTopcic(t.Name)
err := c.DeleteTopic(t.Name)
if err != nil {
return err
}
Expand Down

0 comments on commit bde19c5

Please sign in to comment.