Skip to content

Commit

Permalink
fix: aclRead does not read PatternType of acl already in Kafka
Browse files Browse the repository at this point in the history
  • Loading branch information
= authored and Mongey committed Nov 10, 2022
1 parent dbb1413 commit 7af3f17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kafka/resource_kafka_acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ func aclRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag
PermissionType: ACLPermissionTypeToString(acl.PermissionType),
},
Resource: Resource{
Type: ACLResourceToString(foundACLs.ResourceType),
Name: foundACLs.ResourceName,
Type: ACLResourceToString(foundACLs.ResourceType),
Name: foundACLs.ResourceName,
PatternTypeFilter: foundACLs.ResourcePatternType.String(),
},
}

Expand Down

0 comments on commit 7af3f17

Please sign in to comment.