We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfe85ae commit 0458c64Copy full SHA for 0458c64
common/pkg/server/server.go
@@ -181,6 +181,7 @@ func (s *Server) Start(ctx context.Context) error {
181
}
182
183
// intToInt32Ptr converts an int to *int32 for use with TimeoutSeconds.
184
+// #nosec G115 -- TimeoutSeconds is always within int32 safe range.
185
func intToInt32Ptr(value int) *int32 {
186
t := int32(value)
187
return &t
0 commit comments