[pbs-devel] [PATCH proxmox-backup v3 0/3] pbs-api-types: new MaintenanceType::Unmount, implement and use set_maintenance_mode
Dietmar Maurer
dietmar at proxmox.com
Mon Apr 22 10:00:36 CEST 2024
Changes in v3:
- do not introduce MaintenanceType::Unmount (we can do that later)
- cleanup commit messages
Changes in v2:
- split patch into smaller ones
- cleanup commit messages
Dietmar Maurer (3):
pbs-api-types: use SchemaDeserializer for maintenance mode
maintenance: derive Copy for maintenance type and make maintainance
mode fields public
api: assert that maintenance mode transitions are valid
pbs-api-types/src/datastore.rs | 46 +++++++++++++++++++++++++++-----
pbs-api-types/src/maintenance.rs | 7 +++--
pbs-datastore/src/datastore.rs | 8 ++++--
src/api2/config/datastore.rs | 13 ++++++---
4 files changed, 59 insertions(+), 15 deletions(-)
--
2.39.2
More information about the pbs-devel
mailing list