4 Commits

Author SHA1 Message Date
Niels de Vos
0a22e3a186 cleanup: address golangci 'funcorder' linter problems
The new 'funcorder' linter expects all public functions to be placed
before private functions of a struct. Many private functions needed
moving further down into their files.

Some files had many issues reported. To reduce the churn in those files,
they have been annotated with a `//nolint:funcorder` comment.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-05-06 11:26:06 +00:00
Niels de Vos
4ffa1d6c89 cleanup: address golangci 'gosec' issues
The golangci 'gosec' linter complains about permissions that could be
more secure. These have been modified or annotated on.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-05-06 11:26:06 +00:00
Rakshith R
86f2ad9e0d util: fix bug in health checker
This commit fixes a bug in health checker that
caused shared checker to get keyed with volumeID+volumepath
instead of just volumeID and the other way around
for non-shared checkers.

Signed-off-by: Rakshith R <rar@redhat.com>
2025-04-14 14:55:56 +00:00
Niels de Vos
54fc65a561 util: add health-checker for periodic filesystem checks
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-11-03 13:41:44 +00:00