Remove obsolote revive comments

This commit is contained in:
Otto Bittner 2022-11-23 08:12:33 +01:00
parent 6c0509e34d
commit 6b2d9d16f8
13 changed files with 0 additions and 63 deletions

View file

@ -217,9 +217,6 @@ func closeCryptDevice(device DeviceMapper, source, volumeID, deviceType string)
}
// openCryptDevice maps the volume at source to the crypt device identified by volumeID.
// TODO: Upon changing this function, please refactor it to reduce the number of arguments to <= 5.
//
//revive:disable-next-line
func openCryptDevice(ctx context.Context, device DeviceMapper, source, volumeID string, integrity bool,
getKey func(ctx context.Context, keyID string, keySize int) ([]byte, error), diskInfo func(disk string) (string, error),
) (string, error) {