mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
cleanup: use %s instead of %w for t.Errorf
As t.Errorf does not support error-wrapping directive using %s. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
813f6c30cc
commit
c67bacdb11
@ -274,7 +274,7 @@ func TestParseKernelRelease(t *testing.T) {
|
||||
for i, release := range goodReleases {
|
||||
version, patchlevel, sublevel, extraversion, err := parseKernelRelease(release)
|
||||
if err != nil {
|
||||
t.Errorf("parsing error for release %q: %w", release, err)
|
||||
t.Errorf("parsing error for release %q: %s", release, err)
|
||||
}
|
||||
good := goodVersions[i]
|
||||
if version != good[0] || patchlevel != good[1] || sublevel != good[2] || extraversion != good[3] {
|
||||
|
Loading…
Reference in New Issue
Block a user