Skip to content

Conversation

@ManManavadaria
Copy link

This PR fixes a runtime panic that occurs when accessing the Names slice in the GetContainers function.
The panic happens because the 0th index of the Names slice was accessed without validating the slice length.

Changes:

  • Added validation to check the length of the Names slice before accessing it.
  • Fallback to using containerID if a name is unavailable.

Closes #713

…er name if Names slice is empty in container summary
@dlq84
Copy link

dlq84 commented Nov 28, 2025

Having the same issue, a quick fix rollout would be nice.

@npjonath
Copy link

npjonath commented Dec 9, 2025

The related issue completely broke the latest release. It would be helpful to obtain approval and merge this branch, as it correctly fixes the issue. 👍

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.

[Bug] panic: runtime error: index out of range

3 participants