Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: kouki <[email protected]>
  • Loading branch information
kmdkuk committed Dec 9, 2023
1 parent de210d4 commit 5869734
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/controller/minecraft_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ var _ = Describe("Minecraft controller", func() {

log := ctrl.Log.WithName("controllers")

mockMinecraftMgr := &mockManager{}
mockMinecraftMgr := &mockManager{
minecrafts: make(map[string]struct{}),
}

r := NewMinecraftReconciler(
mgr.GetClient(),
Expand Down

0 comments on commit 5869734

Please sign in to comment.