CloudWatch Logs: Revert "Queries in an expression should run synchronously (#64443)" (#65036)

Revert "CloudWatch Logs: Queries in an expression should run synchronously (#64443)"

This reverts commit 74436d31de.
This commit is contained in:
Shirley
2023-03-20 15:54:30 +01:00
committed by GitHub
parent 6f73777d59
commit 972e611f76
4 changed files with 9 additions and 79 deletions
-3
View File
@@ -21,8 +21,6 @@ var (
logger = log.New("expr")
)
const FromExpressionHeaderName = "FromExpression"
type QueryError struct {
RefID string
Err error
@@ -229,7 +227,6 @@ func (dn *DSNode) Execute(ctx context.Context, now time.Time, _ mathexp.Vars, s
},
Headers: dn.request.Headers,
}
req.Headers[FromExpressionHeaderName] = "true"
responseType := "unknown"
defer func() {