Apply gometalinter suggestions
This commit is contained in:
parent
9533aa45cc
commit
9bf553559c
8 changed files with 19 additions and 32 deletions
|
|
@ -130,7 +130,7 @@ func DeleteKubeNamespace(c kubernetes.Interface, namespace string) error {
|
|||
return c.CoreV1().Namespaces().Delete(namespace, metav1.NewDeleteOptions(0))
|
||||
}
|
||||
|
||||
// ExpectNoError tests whether an error occured.
|
||||
// ExpectNoError tests whether an error occurred.
|
||||
func ExpectNoError(err error, explain ...interface{}) {
|
||||
if err != nil {
|
||||
Logf("Unexpected error occurred: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue