Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

🐛 Extension addon (ref) regex fix. #783

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

jortel
Copy link
Contributor

@jortel jortel commented Feb 12, 2025

Missed a validation in #782.

Signed-off-by: Jeff Ortel <jortel@redhat.com>
}
return
}

Copy link
Contributor Author

@jortel jortel Feb 12, 2025

Choose a reason for hiding this comment

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

hint: ^ moved to Task for better reuse.

@@ -1361,7 +1337,12 @@ func (r *Task) Run(cluster *Cluster) (started bool, err error) {
return
}
for _, extension := range extensions {
if r.Addon != extension.Spec.Addon {
matched := false
matched, err = r.matchAddon(&extension, addon)
Copy link
Contributor Author

@jortel jortel Feb 12, 2025

Choose a reason for hiding this comment

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

hint: Missed this validation in the original PR.

@@ -1620,7 +1601,7 @@ func (r *Task) podFailed(pod *core.Pod, client k8s.Client) {
}
}

// getExtensions by name.
// getExtensions returns defined extensions.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

hint: incidental. noticed it was incorrect.

@jortel jortel merged commit 2eb4d6e into konveyor:main Feb 12, 2025
14 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants