Commit 086220f5 authored by Tiger's avatar Tiger

Remove unused keyword from EKS provision service

parent 27757f46
......@@ -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