mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
No need to assert an error when the error is not nil
Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
parent
5e14c5dfa9
commit
79cac48b30
@ -1163,7 +1163,7 @@ profiles:
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
assert.NoError(t, err)
|
t.Errorf("unexpected error to create a config: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user