fix: use crate::warnings re-export (consistent with forge/mod.rs)
This commit is contained in:
parent
b63738e8c2
commit
e292d8d16c
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ pub(super) async fn ensure_ci_runner_registered(core_token: &str) {
|
||||||
Ok(token) => {
|
Ok(token) => {
|
||||||
if let Err(e) = crate::priv_client::register_ci_runner(&token).await {
|
if let Err(e) = crate::priv_client::register_ci_runner(&token).await {
|
||||||
tracing::warn!(error = ?e, "ci runner: hive-priv register_ci_runner failed");
|
tracing::warn!(error = ?e, "ci runner: hive-priv register_ci_runner failed");
|
||||||
crate::stats::warnings::set_boot_warning(
|
crate::warnings::set_boot_warning(
|
||||||
"ci_runner_register",
|
"ci_runner_register",
|
||||||
"crit",
|
"crit",
|
||||||
format!("ci runner: hive-priv register_ci_runner failed: {e}"),
|
format!("ci runner: hive-priv register_ci_runner failed: {e}"),
|
||||||
|
|
@ -60,7 +60,7 @@ pub(super) async fn ensure_ci_runner_registered(core_token: &str) {
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
tracing::warn!(error = ?e, "ci runner: fetch registration token failed");
|
tracing::warn!(error = ?e, "ci runner: fetch registration token failed");
|
||||||
crate::stats::warnings::set_boot_warning(
|
crate::warnings::set_boot_warning(
|
||||||
"ci_runner_fetch_token",
|
"ci_runner_fetch_token",
|
||||||
"crit",
|
"crit",
|
||||||
format!("ci runner: fetch registration token failed: {e}"),
|
format!("ci runner: fetch registration token failed: {e}"),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue