Azure Monitor Logs: Avoid warning when the response is empty (#59211)
This commit is contained in:
@@ -315,6 +315,10 @@ type LogAnalyticsMeta struct {
|
||||
}
|
||||
|
||||
func setAdditionalFrameMeta(frame *data.Frame, query, subscriptionID, workspace string) error {
|
||||
if frame.Meta == nil || frame.Meta.Custom == nil {
|
||||
// empty response
|
||||
return nil
|
||||
}
|
||||
frame.Meta.ExecutedQueryString = query
|
||||
la, ok := frame.Meta.Custom.(*LogAnalyticsMeta)
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user