Skip to content

Commit 2f6a673

Browse files
committed
chore: Ignore lint error in generator code
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 9bf2a68 commit 2f6a673

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/nvsandboxutils/gen/nvsandboxutils/generateapi.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ func getGoFiles(sourceDir string) (map[string][]byte, error) {
227227
return nil
228228
}
229229

230+
//nolint:gosec // Since we are only using this during code generation
231+
// we are not concerned with possible TOUTOC race conditions.
230232
content, err := os.ReadFile(path)
231233
if err != nil {
232234
return err

0 commit comments

Comments
 (0)