From 572f39d656ce75b4c4c9c6db88185b2688a08ef3 Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Fri, 16 Jul 2021 16:43:55 +0530 Subject: [PATCH] util: fix log level in OpenEncryptedVolume() Signed-off-by: Prasanna Kumar Kalever --- internal/util/crypto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/crypto.go b/internal/util/crypto.go index 59a2d3f47..07780fdb1 100644 --- a/internal/util/crypto.go +++ b/internal/util/crypto.go @@ -255,7 +255,7 @@ func OpenEncryptedVolume(ctx context.Context, devicePath, mapperFile, passphrase DebugLog(ctx, "Opening device %s with LUKS on %s", devicePath, mapperFile) _, stderr, err := LuksOpen(devicePath, mapperFile, passphrase) 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