* [pbs-devel] [PATCH proxmox-backup 1/2] daily-update: fix typo
@ 2024-03-25 10:50 Lukas Wagner
2024-03-25 10:50 ` [pbs-devel] [PATCH proxmox-backup 2/2] daily-update: inline variables into format string if possible Lukas Wagner
2024-03-25 15:11 ` [pbs-devel] applied-series: [PATCH proxmox-backup 1/2] daily-update: fix typo Thomas Lamprecht
0 siblings, 2 replies; 3+ messages in thread
From: Lukas Wagner @ 2024-03-25 10:50 UTC (permalink / raw)
To: pbs-devel
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
src/bin/proxmox-daily-update.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/proxmox-daily-update.rs b/src/bin/proxmox-daily-update.rs
index ae3744c5..cde9ff80 100644
--- a/src/bin/proxmox-daily-update.rs
+++ b/src/bin/proxmox-daily-update.rs
@@ -118,7 +118,7 @@ fn main() {
log::LevelFilter::Info,
Some("proxmox-daily-update"),
) {
- eprintln!("unable to inititialize syslog - {}", err);
+ eprintln!("unable to initialize syslog - {}", err);
}
let mut rpcenv = CliEnvironment::new();
--
2.39.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [pbs-devel] [PATCH proxmox-backup 2/2] daily-update: inline variables into format string if possible
2024-03-25 10:50 [pbs-devel] [PATCH proxmox-backup 1/2] daily-update: fix typo Lukas Wagner
@ 2024-03-25 10:50 ` Lukas Wagner
2024-03-25 15:11 ` [pbs-devel] applied-series: [PATCH proxmox-backup 1/2] daily-update: fix typo Thomas Lamprecht
1 sibling, 0 replies; 3+ messages in thread
From: Lukas Wagner @ 2024-03-25 10:50 UTC (permalink / raw)
To: pbs-devel
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
src/bin/proxmox-daily-update.rs | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/bin/proxmox-daily-update.rs b/src/bin/proxmox-daily-update.rs
index cde9ff80..1834fc44 100644
--- a/src/bin/proxmox-daily-update.rs
+++ b/src/bin/proxmox-daily-update.rs
@@ -28,7 +28,7 @@ async fn do_update(rpcenv: &mut dyn RpcEnvironment) -> Result<(), Error> {
match method.handler {
ApiHandler::Sync(handler) => {
if let Err(err) = (handler)(param.clone(), method, rpcenv) {
- log::error!("Error checking subscription - {}", err);
+ log::error!("Error checking subscription - {err}");
}
}
_ => unreachable!(),
@@ -36,7 +36,7 @@ async fn do_update(rpcenv: &mut dyn RpcEnvironment) -> Result<(), Error> {
let notify = match api2::node::subscription::get_subscription(param, rpcenv) {
Ok(info) => info.status == SubscriptionStatus::Active,
Err(err) => {
- log::error!("Error reading subscription - {}", err);
+ log::error!("Error reading subscription - {err}");
false
}
};
@@ -48,7 +48,7 @@ async fn do_update(rpcenv: &mut dyn RpcEnvironment) -> Result<(), Error> {
match method.handler {
ApiHandler::Sync(handler) => match (handler)(param, method, rpcenv) {
Err(err) => {
- log::error!("Error triggering apt database update - {}", err);
+ log::error!("Error triggering apt database update - {err}");
}
Ok(upid) => wait_for_local_worker(upid.as_str().unwrap()).await?,
},
@@ -58,7 +58,7 @@ async fn do_update(rpcenv: &mut dyn RpcEnvironment) -> Result<(), Error> {
match check_acme_certificates(rpcenv).await {
Ok(()) => (),
Err(err) => {
- log::error!("error checking certificates: {}", err);
+ log::error!("error checking certificates: {err}");
}
}
@@ -118,14 +118,14 @@ fn main() {
log::LevelFilter::Info,
Some("proxmox-daily-update"),
) {
- eprintln!("unable to initialize syslog - {}", err);
+ eprintln!("unable to initialize syslog - {err}");
}
let mut rpcenv = CliEnvironment::new();
rpcenv.set_auth_id(Some(String::from("root@pam")));
if let Err(err) = proxmox_async::runtime::main(run(&mut rpcenv)) {
- log::error!("error during update: {}", err);
+ log::error!("error during update: {err}");
std::process::exit(1);
}
}
--
2.39.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [pbs-devel] applied-series: [PATCH proxmox-backup 1/2] daily-update: fix typo
2024-03-25 10:50 [pbs-devel] [PATCH proxmox-backup 1/2] daily-update: fix typo Lukas Wagner
2024-03-25 10:50 ` [pbs-devel] [PATCH proxmox-backup 2/2] daily-update: inline variables into format string if possible Lukas Wagner
@ 2024-03-25 15:11 ` Thomas Lamprecht
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2024-03-25 15:11 UTC (permalink / raw)
To: Proxmox Backup Server development discussion, Lukas Wagner
Am 25/03/2024 um 11:50 schrieb Lukas Wagner:
> Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
> ---
> src/bin/proxmox-daily-update.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-25 15:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-25 10:50 [pbs-devel] [PATCH proxmox-backup 1/2] daily-update: fix typo Lukas Wagner
2024-03-25 10:50 ` [pbs-devel] [PATCH proxmox-backup 2/2] daily-update: inline variables into format string if possible Lukas Wagner
2024-03-25 15:11 ` [pbs-devel] applied-series: [PATCH proxmox-backup 1/2] daily-update: fix typo Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox