diff --git a/internal/mocks/action.go b/internal/mocks/action.go index dd991f73..9f609970 100644 --- a/internal/mocks/action.go +++ b/internal/mocks/action.go @@ -13,6 +13,7 @@ type ActionClient struct { } func (m *ActionClient) WaitFor(ctx context.Context, actions ...*hcloud.Action) error { - args := m.Called(ctx, actions) + // The mock library does not support variadic arguments, ignore for now + args := m.Called(ctx, mock.Anything) return args.Error(0) }