mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-28 17:46:41 +00:00
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:
parent
300acd6fb9
commit
edb962dc46
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user