mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
Fix stackdriver logging test
This commit is contained in:
parent
cd78e999f9
commit
53f7b3e5c6
@ -48,9 +48,6 @@ func UntilFirstEntryFromLog(log string) IngestionPred {
|
|||||||
return func(_ string, entries []LogEntry) (bool, error) {
|
return func(_ string, entries []LogEntry) (bool, error) {
|
||||||
for _, e := range entries {
|
for _, e := range entries {
|
||||||
if e.LogName == log {
|
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
|
return true, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user