summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-09 00:07:40 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-09 00:07:40 +0000
commite8793358645d6c84b46ef56dafcbf834f20d6415 (patch)
treec1c90c19c86b312a7def8dbdd2ddd8888b696d70 /app/services
parente0b84f4ba4b44c8ecf00be97843c40df2550b74c (diff)
downloadgitlab-ce-e8793358645d6c84b46ef56dafcbf834f20d6415.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services')
-rw-r--r--app/services/clusters/aws/provision_service.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/services/clusters/aws/provision_service.rb b/app/services/clusters/aws/provision_service.rb
index 35fe8433b4d..109e4c04a9c 100644
--- a/app/services/clusters/aws/provision_service.rb
+++ b/app/services/clusters/aws/provision_service.rb
@@ -38,8 +38,7 @@ module Clusters
def credentials
@credentials ||= Clusters::Aws::FetchCredentialsService.new(
provision_role,
- provider: provider,
- region: provider.region
+ provider: provider
).execute
end