Skip to content

Commit b197633

Browse files
authored
Merge pull request kubernetes#92259 from brianpursley/net-e2e
Fixed wrong pod name in e2e test log messages
2 parents 2d1c417 + dba85a5 commit b197633

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/framework/network/utils.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func (config *NetworkingTestConfig) DialFromContainer(protocol, dialCommand, con
255255
var output map[string][]string
256256
if err := json.Unmarshal([]byte(stdout), &output); err != nil {
257257
framework.Logf("WARNING: Failed to unmarshal curl response. Cmd %v run in %v, output: %s, err: %v",
258-
cmd, config.HostTestContainerPod.Name, stdout, err)
258+
cmd, config.TestContainerPod.Name, stdout, err)
259259
continue
260260
}
261261

@@ -313,11 +313,11 @@ func (config *NetworkingTestConfig) GetEndpointsFromContainer(protocol, containe
313313
// we confirm unreachability.
314314
framework.Logf("Failed to execute %q: %v, stdout: %q, stderr: %q", cmd, err, stdout, stderr)
315315
} else {
316-
framework.Logf("Tries: %d, in try: %d, stdout: %v, stderr: %v, command run in: %#v", tries, i, stdout, stderr, config.HostTestContainerPod)
316+
framework.Logf("Tries: %d, in try: %d, stdout: %v, stderr: %v, command run in: %#v", tries, i, stdout, stderr, config.TestContainerPod)
317317
var output map[string][]string
318318
if err := json.Unmarshal([]byte(stdout), &output); err != nil {
319319
framework.Logf("WARNING: Failed to unmarshal curl response. Cmd %v run in %v, output: %s, err: %v",
320-
cmd, config.HostTestContainerPod.Name, stdout, err)
320+
cmd, config.TestContainerPod.Name, stdout, err)
321321
continue
322322
}
323323

0 commit comments

Comments
 (0)