diff --git a/internal/security/grantvmgroupaccess.go b/internal/security/grantvmgroupaccess.go index 95cc6df242..453e703dcd 100644 --- a/internal/security/grantvmgroupaccess.go +++ b/internal/security/grantvmgroupaccess.go @@ -81,15 +81,13 @@ const ( // include Grant ACE entries for the VM Group SID. This is a golang re- // implementation of the same function in vmcompute, just not exported in // RS5. Which kind of sucks. Sucks a lot :/ -//nolint:stylecheck // ST1003 -func GrantVmGroupAccess(name string) error { +func GrantVmGroupAccess(name string) error { //nolint:stylecheck // ST1003 return GrantVmGroupAccessWithMask(name, accessMaskDesiredPermission) } // GrantVmGroupAccessWithMask sets the desired DACL for a specified file or // directory. -//nolint:stylecheck // ST1003 -func GrantVmGroupAccessWithMask(name string, access accessMask) error { +func GrantVmGroupAccessWithMask(name string, access accessMask) error { //nolint:stylecheck // ST1003 if access == 0 || access<<4 != 0 { return fmt.Errorf("invalid access mask: 0x%08x", access) }