Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinshenker committed Oct 18, 2023
1 parent b55890c commit 3ac9202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions digitalocean/database/resource_database_kafka_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func resourceDigitalOceanDatabaseKafkaTopicCreate(ctx context.Context, d *schema
log.Printf("[DEBUG] Database kafka topic create configuration: %#v", opts)
topic, _, err := client.Databases.CreateTopic(context.Background(), clusterID, opts)
if err != nil {
return diag.Errorf("Error creating database kafak topic: %s", err)
return diag.Errorf("Error creating database kafka topic: %s", err)
}

d.SetId(makeDatabaseTopicID(clusterID, topic.Name))
Expand Down Expand Up @@ -341,7 +341,7 @@ func resourceDigitalOceanDatabaseKafkaTopicUpdate(ctx context.Context, d *schema
log.Printf("[DEBUG] Database kafka topic update configuration: %#v", opts)
_, err := client.Databases.UpdateTopic(context.Background(), clusterID, topicName, opts)
if err != nil {
return diag.Errorf("Error updating database Kafka topic: %s", err)
return diag.Errorf("Error updating database kafka topic: %s", err)
}

return resourceDigitalOceanDatabaseKafkaTopicRead(ctx, d, meta)
Expand Down

0 comments on commit 3ac9202

Please sign in to comment.