Skip to content

Conversation

sashaodessa
Copy link
Contributor

  • Summary: Ensure ForEachReadyMachine calls the callback only on successful machine retrieval.
  • Problem: The callback was executed when stat.Current() returned an error (inverted condition), risking nil/invalid machine usage.
  • Solution: Invert the condition to run the callback only if err == nil.

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.

1 participant