Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

use gitea NewClient to catch errors #427

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

nabuskey
Copy link
Collaborator

Related to: #425

This fixes the nil reference when the gitea client initialization errors out due to a timeout. A timeout can be caused by resource contentions.

Signed-off-by: Manabu McCloskey <[email protected]>
@nabuskey nabuskey requested a review from cmoulliard October 24, 2024 19:34
@nabuskey nabuskey merged commit 2902af3 into cnoe-io:main Oct 24, 2024
5 checks passed
@nabuskey nabuskey deleted the fix-gitea-client branch October 24, 2024 19:51
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