cleanup: fix golint error
This commit is contained in:
parent
1e266176ba
commit
48ae4a1963
@ -17,7 +17,6 @@ limitations under the License.
|
||||
package nfs
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
@ -65,7 +64,7 @@ func TestNewFakeDriver(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestIsCorruptedDir(t *testing.T) {
|
||||
existingMountPath, err := ioutil.TempDir(os.TempDir(), "csi-mount-test")
|
||||
existingMountPath, err := os.MkdirTemp(os.TempDir(), "csi-mount-test")
|
||||
if err != nil {
|
||||
t.Fatalf("failed to create tmp dir: %v", err)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user