mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +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
|
||||
}
|
||||
assert.NoError(t, err)
|
||||
t.Errorf("unexpected error to create a config: %v", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user