mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
util: fix log level in OpenEncryptedVolume()
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
812003eb45
commit
572f39d656
@ -255,7 +255,7 @@ func OpenEncryptedVolume(ctx context.Context, devicePath, mapperFile, passphrase
|
|||||||
DebugLog(ctx, "Opening device %s with LUKS on %s", devicePath, mapperFile)
|
DebugLog(ctx, "Opening device %s with LUKS on %s", devicePath, mapperFile)
|
||||||
_, stderr, err := LuksOpen(devicePath, mapperFile, passphrase)
|
_, stderr, err := LuksOpen(devicePath, mapperFile, passphrase)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
WarningLog(ctx, "failed to open LUKS device %q: %s", devicePath, stderr)
|
ErrorLog(ctx, "failed to open LUKS device %q: %s", devicePath, stderr)
|
||||||
}
|
}
|
||||||
|
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user