Skip to content

Commit

Permalink
TestCase: Fix TC for Log Analytics Data Source Windows Event (#18559)
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-yechenwei authored Sep 29, 2022
1 parent ed9e7cd commit d37ed72
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"encoding/json"
"fmt"
"log"
"strings"
"time"

"github.com/hashicorp/go-azure-helpers/lang/response"
Expand Down Expand Up @@ -199,7 +198,7 @@ func flattenLogAnalyticsDataSourceWindowsEventEventType(eventTypes []dataSourceW
for _, e := range eventTypes {
// The casing isn't preserved by the API for event types, so we need to normalise it here until
// https://github.com/Azure/azure-rest-api-specs/issues/18163 is fixed
output = append(output, strings.ToLower(e.EventType))
output = append(output, e.EventType)
}
return output
}
Expand Down

0 comments on commit d37ed72

Please sign in to comment.