Skip to content

snc: fix a panic when not using spot instance #601

Merged
adrianriobo merged 2 commits into
redhat-developer:mainfrom
anjannath:misc-fixes
Sep 25, 2025
Merged

snc: fix a panic when not using spot instance #601
adrianriobo merged 2 commits into
redhat-developer:mainfrom
anjannath:misc-fixes

Conversation

@anjannath
Copy link
Copy Markdown
Collaborator

No description provided.

on the snc the env variable for checking
if the bundle should be started in  self
sufficint mode was changed to
CRC_SELF_SUFFICIENT in crc-org/snc#1153
if case of non-spot the allocationData struct
has a nil SpotPrice and trying to access   it
without checking for nil results in a panic
Copy link
Copy Markdown
Collaborator

@adrianriobo adrianriobo left a comment

Choose a reason for hiding this comment

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

LGTM

I totally missed it on SNC ...I fixed on kind but forgot it here 🤯

@adrianriobo
Copy link
Copy Markdown
Collaborator

@anjannath need to sign the commit

@adrianriobo
Copy link
Copy Markdown
Collaborator

@anjannath NVM I changed some setting and it was too strcit

@adrianriobo adrianriobo merged commit afe1c54 into redhat-developer:main Sep 25, 2025
7 checks passed
@anjannath
Copy link
Copy Markdown
Collaborator Author

@anjannath need to sign the commit

ahh sorry, i will add GPG key to my github account and have signed commits from now on, thanks for the exception this time

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