cleanup: address golangci 'godot' complaints

There are a few comments that do not pass through the 'godot' linter.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2025-04-29 12:27:20 +02:00 committed by mergify[bot]
parent 300acd6fb9
commit edb962dc46

View File

@ -60,7 +60,7 @@ var policyV2Support = []kernel.KernelVersion{
}, },
} }
// error values // Error values.
var ( var (
ErrBadAuth = errors.New("key authentication check failed") ErrBadAuth = errors.New("key authentication check failed")
) )
@ -278,7 +278,7 @@ func initializeAndUnlock(
return nil 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) { func getInodeEncryptedAttribute(p string) (bool, error) {
file, err := os.Open(p) file, err := os.Open(p)
if err != nil { if err != nil {