From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 2/2] tools: parse_objset_stat: drop the unecessary 'objset-' from the log
Date: Mon, 7 Mar 2022 09:13:31 +0100 [thread overview]
Message-ID: <20220307081331.714295-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20220307081331.714295-1-d.csapak@proxmox.com>
'objset_id' already contains that, so the error was
"could not parse 'objset-objset-0xFFFF' stat file"
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
src/tools/disks/zfs.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tools/disks/zfs.rs b/src/tools/disks/zfs.rs
index a02baa00..30a6cc0c 100644
--- a/src/tools/disks/zfs.rs
+++ b/src/tools/disks/zfs.rs
@@ -124,7 +124,7 @@ fn parse_objset_stat(pool: &str, objset_id: &str) -> Result<(String, BlockDevSta
let text = match proxmox_sys::fs::file_read_optional_string(&path)? {
Some(text) => text,
- None => bail!("could not parse 'objset-{}' stat file", objset_id),
+ None => bail!("could not parse '{}' stat file", objset_id),
};
let mut dataset_name = String::new();
--
2.30.2
next prev parent reply other threads:[~2022-03-07 8:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-07 8:13 [pbs-devel] [PATCH proxmox-backup 1/2] tools: zfs_dataset_stats: remove dataset <-> obset file mapping on error Dominik Csapak
2022-03-07 8:13 ` Dominik Csapak [this message]
2022-03-08 8:19 ` [pbs-devel] applied-series: " Wolfgang Bumiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220307081331.714295-2-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal