Skip to content

Commit 618c3a2

Browse files
author
Matheus Politano
committed
chore: address linter issue
1 parent 9addaea commit 618c3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackit/internal/services/cdn/distribution/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ func mapFields(ctx context.Context, distribution *cdn.Distribution, model *Model
10111011

10121012
tfStatusCode := types.Int32Null()
10131013
if r.StatusCode != nil {
1014-
tfStatusCode = types.Int32Value(int32(*r.StatusCode))
1014+
tfStatusCode = types.Int32Value(int32(*r.StatusCode)) // nolint:gosec // HTTP status codes are safely within int32 bounds
10151015
}
10161016

10171017
tfRuleMatchCond := types.StringValue("ANY")

0 commit comments

Comments
 (0)