Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: new xterm instance spawn when clicking the logs route in pod details (#1355) #1393

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

lstocchi
Copy link
Contributor

@lstocchi lstocchi commented Feb 7, 2023

What does this PR do?

This PR prevents creating multiple xterm instances. The same fix as #1344 for Pod logs

Screenshot/screencast of this PR

N/A
To view the issue it is the same as it was for containers https://user-images.githubusercontent.com/49404737/216112655-feb626cd-db72-4b78-a0eb-6f91b153c863.gif

What issues does this PR fix or reference?

it fixes #1355

How to test this PR?

  1. Open a pod with logs
  2. Switch tabs, click on the logs tab multiple times.
  3. Verify no new xterm instances have been created.

Copy link
Contributor

@cdrage cdrage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works great! Exact same fix as the other one, so it's pretty safe to merge this in.

LGTM

@cdrage cdrage merged commit 6736bb6 into containers:main Feb 7, 2023
@podman-desktop-bot podman-desktop-bot added this to the 0.12.0 milestone Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new xterm instance spawn when clicking the logs route in the Pod details
3 participants