Skip to content

Commit 9e79f07

Browse files
committed
Fix some GitHub copy pasta
1 parent d7f535b commit 9e79f07

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/integrations/gitea/create_pull_request.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ fn create_pull_request(
150150
pub(crate) enum Error {
151151
#[error("Trouble communicating with the Gitea instance while {activity}: {err}")]
152152
#[diagnostic(
153-
code(github::api_request_error),
153+
code(gitea::api_request_error),
154154
help(
155155
"There was a problem communicating with the Gitea instance {host}, this may be a network issue or a permissions issue."
156156
)
@@ -160,7 +160,7 @@ pub(crate) enum Error {
160160
activity: String,
161161
host: String,
162162
},
163-
#[error("Trouble decoding the response from GitHub while {activity}: {source}")]
163+
#[error("Trouble decoding the response from Gitea while {activity}: {source}")]
164164
#[diagnostic(
165165
code(gitea::api_response_error),
166166
help(

src/integrations/gitea/create_release.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub(crate) enum Error {
9191
activity: String,
9292
host: String,
9393
},
94-
#[error("Trouble decoding the response from GitHub while {activity}: {source}")]
94+
#[error("Trouble decoding the response from Gitea while {activity}: {source}")]
9595
#[diagnostic(
9696
code(gitea::api_response_error),
9797
help(

src/integrations/gitea/list_issues.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub(crate) enum Error {
5959
NotConfigured,
6060
#[error("Trouble communicating with the Gitea instance while {activity}: {err}")]
6161
#[diagnostic(
62-
code(github::api_request_error),
62+
code(gitea::api_request_error),
6363
help(
6464
"There was a problem communicating with the Gitea instance {host}, this may be a network issue or a permissions issue."
6565
)
@@ -69,7 +69,7 @@ pub(crate) enum Error {
6969
activity: String,
7070
host: String,
7171
},
72-
#[error("Trouble decoding the response from GitHub while {activity}: {source}")]
72+
#[error("Trouble decoding the response from Gitea while {activity}: {source}")]
7373
#[diagnostic(
7474
code(gitea::api_response_error),
7575
help(

0 commit comments

Comments
 (0)