AzureMonitor: Parse non-fatal errors for Logs (#51320)
This commit is contained in:
@@ -235,7 +235,7 @@ func Test_executeQueryErrorWithDifferentLogAnalyticsCreds(t *testing.T) {
|
||||
if res.Error == nil {
|
||||
t.Fatal("expecting an error")
|
||||
}
|
||||
if !strings.Contains(res.Error.Error(), "Log Analytics credentials are no longer supported") {
|
||||
if !strings.Contains(res.Error.Error(), "credentials for Log Analytics are no longer supported") {
|
||||
t.Error("expecting the error to inform of bad credentials")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user