mirror of
https://github.com/containerd/containerd.git
synced 2026-08-07 08:31:18 +00:00
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:
committed by
Sebastiaan van Stijn
parent
f6ddff11bb
commit
1ea353741e
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user