Fix stackdriver logging test

This commit is contained in:
Marek Siarkowicz 2018-02-28 09:31:46 +01:00
parent cd78e999f9
commit 53f7b3e5c6

View File

@ -48,9 +48,6 @@ func UntilFirstEntryFromLog(log string) IngestionPred {
return func(_ string, entries []LogEntry) (bool, error) {
for _, e := range entries {
if e.LogName == log {
if e.Location != framework.TestContext.CloudConfig.Zone {
return false, fmt.Errorf("Bad location in logs '%s' != '%d'", e.Location, framework.TestContext.CloudConfig.Zone)
}
return true, nil
}
}