From edb962dc462ee30ea6fa46db67fcf5b85e422b80 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 29 Apr 2025 12:27:20 +0200 Subject: [PATCH] cleanup: address golangci 'godot' complaints There are a few comments that do not pass through the 'godot' linter. Signed-off-by: Niels de Vos --- internal/util/fscrypt/fscrypt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/util/fscrypt/fscrypt.go b/internal/util/fscrypt/fscrypt.go index 360922878..a7829a044 100644 --- a/internal/util/fscrypt/fscrypt.go +++ b/internal/util/fscrypt/fscrypt.go @@ -60,7 +60,7 @@ var policyV2Support = []kernel.KernelVersion{ }, } -// error values +// Error values. var ( ErrBadAuth = errors.New("key authentication check failed") ) @@ -278,7 +278,7 @@ func initializeAndUnlock( return nil } -// getInodeEncryptedAttribute returns the inode's encrypt attribute similar to lsattr(1) +// getInodeEncryptedAttribute returns the inode's encrypt attribute similar to lsattr(1). func getInodeEncryptedAttribute(p string) (bool, error) { file, err := os.Open(p) if err != nil {