mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Cloudwatch: Remove unused parameters (#45237)
* Remove unused parameters * Remove unused context * Make plugin context first parameter
This commit is contained in:
@@ -98,7 +98,7 @@ func (e *cloudWatchExecutor) executeLogAction(ctx context.Context, model *simple
|
||||
defaultRegion := dsInfo.region
|
||||
|
||||
region := model.Get("region").MustString(defaultRegion)
|
||||
logsClient, err := e.getCWLogsClient(region, pluginCtx)
|
||||
logsClient, err := e.getCWLogsClient(pluginCtx, region)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user