Skip to content

use gitea NewClient to catch errors#427

Merged
nabuskey merged 1 commit intocnoe-io:mainfrom
nabuskey:fix-gitea-client
Oct 24, 2024
Merged

use gitea NewClient to catch errors#427
nabuskey merged 1 commit intocnoe-io:mainfrom
nabuskey:fix-gitea-client

Conversation

@nabuskey
Copy link
Copy Markdown
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 <manabu.mccloskey@gmail.com>
@nabuskey nabuskey requested a review from cmoulliard October 24, 2024 19:34
@nabuskey nabuskey merged commit 2902af3 into cnoe-io:main Oct 24, 2024
@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