mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
cleanup: resolves gocritic linter issues
This commit resolves gocritic linter errors. Updates: #2250 Signed-off-by: Yati Padia <ypadia@redhat.com>
This commit is contained in:
@ -621,7 +621,7 @@ var _ = Describe("RBD", func() {
|
||||
|
||||
// Prepare the rbd-nbd with command args
|
||||
attachCmd := strings.ReplaceAll(mapCmd, "map", "attach --device /dev/nbd0")
|
||||
m1 := regexp.MustCompile(`/keyfile-[0-9]* `)
|
||||
m1 := regexp.MustCompile(`/keyfile-\d* `)
|
||||
attachCmd = m1.ReplaceAllString(attachCmd, "/keyfile-test ")
|
||||
e2elog.Logf("attach command to run after restart, attachCmd: %v", attachCmd)
|
||||
|
||||
|
Reference in New Issue
Block a user