Cloudwatch: Remove unused parameters (#45237)

* Remove unused parameters

* Remove unused context

* Make plugin context first parameter
This commit is contained in:
Shirley
2022-02-10 17:15:11 +01:00
committed by GitHub
parent 642f0a250d
commit 89a0c0fc37
6 changed files with 56 additions and 61 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func (e *cloudWatchExecutor) executeTimeSeriesQuery(ctx context.Context, req *ba
}
}()
client, err := e.getCWClient(region, req.PluginContext)
client, err := e.getCWClient(req.PluginContext, region)
if err != nil {
return err
}