Commit 520515e6 authored by Thong Kuah's avatar Thong Kuah

Merge branch '121751-new-eks-cluster-results-in-error-unknown-keyword-region' into 'master'

Remove unused keyword from EKS provision service

See merge request gitlab-org/gitlab!22633
parents 825c9bcb 086220f5
......@@ -38,8 +38,7 @@ module Clusters
def credentials
@credentials ||= Clusters::Aws::FetchCredentialsService.new(
provision_role,
provider: provider,
region: provider.region
provider: provider
).execute
end
......
---
title: Remove unused keyword from EKS provision service
merge_request: 22633
author:
type: fixed
......@@ -35,7 +35,7 @@ describe Clusters::Aws::ProvisionService do
before do
allow(Clusters::Aws::FetchCredentialsService).to receive(:new)
.with(provision_role, provider: provider, region: provider.region)
.with(provision_role, provider: provider)
.and_return(double(execute: credentials))
allow(provider).to receive(:api_client)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment