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

Don't add empty port mappings to the tracker #37

Merged
merged 1 commit into from
Apr 25, 2023
Merged

Conversation

Nino-K
Copy link
Member

@Nino-K Nino-K commented Apr 24, 2023

  • The empty maps are added for every container that is created that doens't have a port mapping, this can spam the logs and make the debugging harder.

@Nino-K Nino-K requested a review from mook-as April 24, 2023 23:17
Copy link
Contributor

@mook-as mook-as left a comment

Choose a reason for hiding this comment

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

We still expect the container ID to be in p.portmap when we call remove(), right? Is that alright?

- The empty maps are added for every container that is created that
  doens't have a port mapping, this can spam the logs and make the
  debugging harder.

Signed-off-by: Nino Kodabande <nkodabande@suse.com>
@mook-as mook-as merged commit 923a20c into main Apr 25, 2023
3 checks passed
@mook-as mook-as deleted the do-not-add-empty-map branch April 25, 2023 17:04
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.

None yet

2 participants