From 514bdbedac961e97d3689f02072e2b31f8f1cc04 Mon Sep 17 00:00:00 2001 From: Aresforchina <18845641183@163.com> Date: Tue, 14 Jan 2020 15:29:13 +0800 Subject: [PATCH] fix-static:pkg/volume/scaleio/ --- hack/.staticcheck_failures | 1 - pkg/volume/scaleio/sio_mgr_test.go | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index c78b6b0ce00..bf428a1fa36 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -40,7 +40,6 @@ pkg/volume/local pkg/volume/portworx pkg/volume/quobyte pkg/volume/rbd -pkg/volume/scaleio pkg/volume/storageos pkg/volume/util pkg/volume/util/fsquota diff --git a/pkg/volume/scaleio/sio_mgr_test.go b/pkg/volume/scaleio/sio_mgr_test.go index 024750b03db..f818d2359b3 100644 --- a/pkg/volume/scaleio/sio_mgr_test.go +++ b/pkg/volume/scaleio/sio_mgr_test.go @@ -26,10 +26,9 @@ import ( ) var ( - fakeSdcID = "test-sdc-123456789" - fakeVolumeName = "test-vol-0001" - fakeVolumeID = "1234567890" - fakeDev = "/dev/testABC" + fakeSdcID = "test-sdc-123456789" + fakeVolumeID = "1234567890" + fakeDev = "/dev/testABC" fakeConfig = map[string]string{ confKey.gateway: "http://sio.gateway:1234",