mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-04-28 22:23:01 +00:00
datastore: re-phrase error message when datastore is unavailable
the current phrase leads to clumsy log messages such as: > datastore 'store' is in datastore is being unmounted this commit re-phrases that too: > datastore 'store' is unavailable: datastore is being unmounted Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
This commit is contained in:
parent
7e1aa4d283
commit
963401348a
@ -218,7 +218,7 @@ impl DataStore {
|
||||
|
||||
if let Some(maintenance_mode) = config.get_maintenance_mode() {
|
||||
if let Err(error) = maintenance_mode.check(operation) {
|
||||
bail!("datastore '{name}' is in {error}");
|
||||
bail!("datastore '{name}' is unavailable: {error}");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user