Skip to content

Commit

Permalink
Fixes nosemgrep annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed May 3, 2024
1 parent c613018 commit d08b70d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/service/securitylake/subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ func expandSubscriptionValueSources(ctx context.Context, subscriberSourcesModels
return sources, diags
}

func expandSubscriberAwsLogSourceSource(ctx context.Context, awsLogSources []awsLogSubscriberSourceModel) *awstypes.LogSourceResourceMemberAwsLogSource { //nosemgrep:ci.aws-in-func-name
func expandSubscriberAwsLogSourceSource(ctx context.Context, awsLogSources []awsLogSubscriberSourceModel) *awstypes.LogSourceResourceMemberAwsLogSource { // nosemgrep:ci.aws-in-func-name
if len(awsLogSources) == 0 {
return nil
}
Expand Down
3 changes: 1 addition & 2 deletions internal/service/ssm/parameter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -954,8 +954,7 @@ func TestAccSSMParameter_DataType_ec2Image(t *testing.T) {
}

func TestAccSSMParameter_DataType_ssmIntegration(t *testing.T) {
ctx := //nosemgrep:ci.ssm-in-func-name
acctest.Context(t)
ctx := acctest.Context(t)
var param ssm.Parameter
webhookName := sdkacctest.RandString(16)
rName := fmt.Sprintf("/d9d01087-4a3f-49e0-b0b4-d568d7826553/ssm/integrations/webhook/%s", webhookName)
Expand Down

0 comments on commit d08b70d

Please sign in to comment.