Skip to content

Commit 0458c64

Browse files
feat: precommit fix
1 parent dfe85ae commit 0458c64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/pkg/server/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ func (s *Server) Start(ctx context.Context) error {
181181
}
182182

183183
// intToInt32Ptr converts an int to *int32 for use with TimeoutSeconds.
184+
// #nosec G115 -- TimeoutSeconds is always within int32 safe range.
184185
func intToInt32Ptr(value int) *int32 {
185186
t := int32(value)
186187
return &t

0 commit comments

Comments
 (0)