k3s/pkg/volume/scaleio
Kubernetes Submit Queue 436f1cd748
Merge pull request #59035 from YuxiJin-tobeyjin/fix-format-error-for-sioUtil-ut
Automatic merge from submit-queue (batch tested with PRs 59035, 61933). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix format error for sioUtil-UT

**What this PR does / why we need it**:
1、Use t.Fatalf instead of t.Fatal when format is needed;
2、Before my change, when open file failed you will get such return "failed to open conf file: %!(EXTRA os.file=&{***})". After my change, when open file failed you will get such return "Failed to open conf file: /dir/filename",which is more human readable .

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
 "NONE"
```
2018-04-09 06:56:05 -07:00
..
BUILD update bazel 2018-02-27 20:23:36 +08:00
sio_client.go delete unused variable 2018-03-01 19:31:23 +08:00
sio_mgr.go
sio_mgr_test.go
sio_plugin.go delete unused variable 2018-03-01 19:31:23 +08:00
sio_util.go
sio_util_test.go modified 2018-03-06 19:00:41 +08:00
sio_volume.go update import 2018-02-27 20:23:35 +08:00
sio_volume_test.go