• Kubernetes Submit Queue's avatar
    Merge pull request #59035 from YuxiJin-tobeyjin/fix-format-error-for-sioUtil-ut · 436f1cd7
    Kubernetes Submit Queue authored
    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"
    ```
    436f1cd7
Name
Last commit
Last update
..
BUILD Loading commit data...
sio_client.go Loading commit data...
sio_mgr.go Loading commit data...
sio_mgr_test.go Loading commit data...
sio_plugin.go Loading commit data...
sio_util.go Loading commit data...
sio_util_test.go Loading commit data...
sio_volume.go Loading commit data...
sio_volume_test.go Loading commit data...