Skip to content

Commit 01bd7c2

Browse files
Fix copy and paste errors
These were noticed when adapting the `kong_consumer_key_auth` resource.
1 parent 5121c7d commit 01bd7c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kong/resource_kong_consumer_basic_auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func resourceKongConsumerBasicAuthRead(ctx context.Context, d *schema.ResourceDa
9696
if kong.IsNotFoundErr(err) {
9797
d.SetId("")
9898
} else if err != nil {
99-
return diag.FromErr(fmt.Errorf("could not find kong ACLGroup with id: %s error: %v", id, err))
99+
return diag.FromErr(fmt.Errorf("could not find kong basic auth with id: %s error: %v", id, err))
100100
}
101101

102102
if basicAuth == nil {

kong/resource_kong_consumer_basic_auth_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func testAccCheckConsumerBasicAuthDestroy(state *terraform.State) error {
5757
}
5858

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

6363
return nil

0 commit comments

Comments
 (0)