Skip to content

Commit 6007ae2

Browse files
committed
fix: nil logger panic in gitlab unit test
Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent fcf1c33 commit 6007ae2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/provider/gitlab/gitlab_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ func TestCreateStatus(t *testing.T) {
222222
},
223223
},
224224
eventEmitter: events.NewEventEmitter(run.Clients.Kube, logger),
225+
Logger: logger,
225226
}
226227
if tt.args.event == nil {
227228
tt.args.event = info.NewEvent()

0 commit comments

Comments
 (0)