Skip to content

Commit

Permalink
Fix semgrep 'ci.typed-enum-conversion'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Sep 19, 2024
1 parent b16667c commit f1f33ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/ses/identity_notification_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func resourceIdentityNotificationTopicDelete(ctx context.Context, d *schema.Reso
const identityNotificationTopicResourceIDSeparator = "|"

func identityNotificationTopicCreateResourceID(identity string, notificationType awstypes.NotificationType) string {
parts := []string{identity, string(notificationType)}
parts := []string{identity, string(notificationType)} // nosemgrep:ci.typed-enum-conversion
id := strings.Join(parts, identityNotificationTopicResourceIDSeparator)

return id
Expand Down

0 comments on commit f1f33ea

Please sign in to comment.