Skip to content

Commit 804d81d

Browse files
maelvlswallrj
andcommitted
address review feedback: error unchecked in client_venconn_test.go
Co-authored-by: Richard Wall <[email protected]>
1 parent f1f175c commit 804d81d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/client/client_venconn_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ func run(test testcase) func(t *testing.T) {
195195
}
196196

197197
got := v1alpha1.VenafiConnection{}
198-
kclient.Get(context.Background(), types.NamespacedName{Name: "venafi-components", Namespace: "venafi"}, &got)
198+
err = kclient.Get(context.Background(), types.NamespacedName{Name: "venafi-components", Namespace: "venafi"}, &got)
199+
require.NoError(t, err)
199200
require.Len(t, got.Status.Conditions, 1)
200201
assert.Equal(t, test.expectReadyCondMsg, got.Status.Conditions[0].Message)
201202
}

0 commit comments

Comments
 (0)