mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-29 04:42:00 +00:00
pve7to8: fix Ceph noout check
Commit 114e5f2c
("pve7to8: sync over from stable-7 branch")
accidentally got rid of the correct value 0 here and also the new TODO
message to improve the situation. But the TODO is actually easy,
because there already is the $upgraded variable. Just rely on that
instead of hard-coding and forgetting about it again.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
0f39f62189
commit
5fa7a336b7
@ -548,7 +548,7 @@ sub check_ceph {
|
||||
log_warn("unable to determine overall Ceph daemon versions!");
|
||||
} elsif (keys %$overall_versions == 1) {
|
||||
log_pass("single running overall version detected for all Ceph daemon types.");
|
||||
$noout_wanted = 1; # off post-upgrade, on pre-upgrade
|
||||
$noout_wanted = !$upgraded; # off post-upgrade, on pre-upgrade
|
||||
} elsif (keys $ceph_versions_simple->{overall}->%* != 1) {
|
||||
log_warn("overall version mismatch detected, check 'ceph versions' output for details!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user