mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
util: address golangci-lint for csi-common
addressing golangci-lint issues in the csi-common related code. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
2465310543
commit
a85b4a9305
@ -86,7 +86,7 @@ func ConstructMountOptions(mountOptions []string, volCap *csi.VolumeCapability)
|
||||
|
||||
return false
|
||||
}
|
||||
for _, f := range m.MountFlags {
|
||||
for _, f := range m.GetMountFlags() {
|
||||
if !hasOption(mountOptions, f) {
|
||||
mountOptions = append(mountOptions, f)
|
||||
}
|
||||
|
Reference in New Issue
Block a user