Skip to content

Commit 009578b

Browse files
JoshVanLartursouza
authored andcommitted
Fix nil pointer in test
Signed-off-by: joshvanl <[email protected]>
1 parent 0a1664f commit 009578b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/informer/informer_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ func Test_handleEvent(t *testing.T) {
310310
"if job is for partition, return job on DELETE": {
311311
ev: &clientv3.Event{
312312
Type: clientv3.EventTypeDelete,
313+
Kv: &mvccpb.KeyValue{Value: jobUID2, Key: []byte("abc/jobs/3")},
313314
PrevKv: &mvccpb.KeyValue{Value: jobUID2},
314315
},
315316
expEvent: &Event{

0 commit comments

Comments
 (0)