Skip to content

Commit

Permalink
removed redundant assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
kavinbalagen committed Sep 26, 2024
1 parent ebbd805 commit e58c72a
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ func readOutboundContactListContact(ctx context.Context, d *schema.ResourceData,
contactListId, contactId := splitComplexContact(d.Id())
if contactListId == "" {
contactListId = d.Get("contact_list_id").(string)
contactId = d.Id()
}

cc := consistency_checker.NewConsistencyCheck(ctx, d, meta, ResourceOutboundContactListContact(), constants.DefaultConsistencyChecks, resourceName)
Expand Down Expand Up @@ -118,7 +117,6 @@ func updateOutboundContactListContact(ctx context.Context, d *schema.ResourceDat
contactListId, contactId := splitComplexContact(d.Id())
if contactListId == "" {
contactListId = d.Get("contact_list_id").(string)
contactId = d.Id()
}

log.Printf("Updating contact '%s' in contact list '%s'", contactId, contactListId)
Expand All @@ -139,7 +137,6 @@ func deleteOutboundContactListContact(ctx context.Context, d *schema.ResourceDat
contactListId, contactId := splitComplexContact(d.Id())
if contactListId == "" {
contactListId = d.Get("contact_list_id").(string)
contactId = d.Id()
}

log.Printf("Deleting contact '%s' from contact list '%s'", contactId, contactListId)
Expand Down

0 comments on commit e58c72a

Please sign in to comment.