Cloudwatch: Accept empty string for logstimeout and mark errors downstream (#96947)

This commit is contained in:
Isabella Siu
2024-12-03 15:02:52 -05:00
committed by GitHub
parent 7fd8877439
commit f4e108c34f
5 changed files with 36 additions and 5 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ var executeSyncLogQuery = func(ctx context.Context, e *cloudWatchExecutor, req *
instance, err := e.getInstance(ctx, req.PluginContext)
if err != nil {
return nil, err
errorsource.AddErrorToResponse(req.Queries[0].RefID, resp, err)
return resp, nil
}
for _, q := range req.Queries {