Skip to content

Comments

Fix error when process ID is known but not metadata#817

Merged
hulto merged 5 commits intomainfrom
partial-process-tree-entry
Jan 26, 2025
Merged

Fix error when process ID is known but not metadata#817
hulto merged 5 commits intomainfrom
partial-process-tree-entry

Conversation

@hulto
Copy link
Collaborator

@hulto hulto commented Jan 6, 2025

What type of PR is this?

/kind bug

What this PR does / why we need it:

Some PIDs specifically on Windows don't allow us to see data like PPID or command. This PR prevents the function from failing by replacing the metadata with "???"

Which issue(s) this PR fixes:

Fixes #

@hulto hulto added this to the v0.2.0 milestone Jan 26, 2025
@hulto hulto merged commit 0aaf2ba into main Jan 26, 2025
6 checks passed
@hulto hulto deleted the partial-process-tree-entry branch January 26, 2025 18:33
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.

2 participants