Skip to content

Commit

Permalink
Fix copy and paste errors
Browse files Browse the repository at this point in the history
These were noticed when adapting the `kong_consumer_key_auth` resource.
  • Loading branch information
andrew-bulford-form3 committed Oct 8, 2021
1 parent 5121c7d commit 01bd7c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kong/resource_kong_consumer_basic_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func resourceKongConsumerBasicAuthRead(ctx context.Context, d *schema.ResourceDa
if kong.IsNotFoundErr(err) {
d.SetId("")
} else if err != nil {
return diag.FromErr(fmt.Errorf("could not find kong ACLGroup with id: %s error: %v", id, err))
return diag.FromErr(fmt.Errorf("could not find kong basic auth with id: %s error: %v", id, err))
}

if basicAuth == nil {
Expand Down
2 changes: 1 addition & 1 deletion kong/resource_kong_consumer_basic_auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func testAccCheckConsumerBasicAuthDestroy(state *terraform.State) error {
}

if ConsumerBasicAuth != nil {
return fmt.Errorf("jwt auth %s still exists, %+v", id.ID, ConsumerBasicAuth)
return fmt.Errorf("basic auth %s still exists, %+v", id.ID, ConsumerBasicAuth)
}

return nil
Expand Down

0 comments on commit 01bd7c2

Please sign in to comment.