mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 10:53:34 +00:00
cleanup: address gocritic warnings
Add explanation to nolint directives. Issue reported: whyNoLint: include an explanation for nolint directive (gocritic) Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
@ -32,7 +32,8 @@ func cleanupTestData() {
|
||||
os.RemoveAll(basePath)
|
||||
}
|
||||
|
||||
// nolint: gocyclo
|
||||
// TODO: make this function less complex
|
||||
// nolint:gocyclo // complexity needs to be reduced.
|
||||
func TestCSIConfig(t *testing.T) {
|
||||
var err error
|
||||
var data string
|
||||
|
Reference in New Issue
Block a user