Add missing argument to DeploymentService#predefined_variables

What does this MR do?

In development MockDeploymentService is configured https://gitlab.com/gitlab-org/gitlab-ce/blob/3a2abc1d/lib/api/services.rb#L726 - but calls to Project#deployment_variables always fail with:

     ArgumentError:
       wrong number of arguments (given 1, expected 0)
     # ./app/models/project_services/deployment_service.rb:14:in `predefined_variables'
     # ./app/models/project.rb:1797:in `deployment_variables'

This MR adds the missing argument.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Thong Kuah

Merge request reports

Loading