fix: Used nolint to ignore the static checks

Signed-off-by: yashsingh74 <yashsingh1774@gmail.com>
(cherry picked from commit 03a44a2d7c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
yashsingh74
2025-04-19 12:04:32 +05:30
committed by Sebastiaan van Stijn
parent f6ddff11bb
commit 1ea353741e
4 changed files with 5 additions and 4 deletions

View File

@@ -371,7 +371,7 @@ func (s *snapshotter) View(ctx context.Context, key, parent string, opts ...snap
}
func setImmutable(path string, enable bool) error {
//nolint:revive // silence "don't use ALL_CAPS in Go names; use CamelCase"
//nolint:revive,staticcheck // silence "don't use ALL_CAPS in Go names; use CamelCase"
const (
FS_IMMUTABLE_FL = 0x10
)