Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tennix committed Feb 27, 2019
1 parent a58e58c commit 9da0d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/test_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func clearOperator() error {
return err
}
err = kubeCli.CoreV1().Secrets(fixture.ns).Delete(fixture.ns+"-"+fixture.clusterName, nil)
if err != nil && apierrs.IsNotFound(err) {
if err != nil && !apierrs.IsNotFound(err) {
return err
}
}
Expand Down

0 comments on commit 9da0d8e

Please sign in to comment.