pbs-config: improve semi-useful comment

commenting that version_cache.increase_datastore_generation increases
the, well, version is rather superfluous. Also avoid the use of "we",
which is always ambiguous in code comments.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-03-01 09:54:34 +01:00
parent 118deb4db8
commit e1f9553f2d

View File

@ -48,8 +48,7 @@ pub fn save_config(config: &SectionConfigData) -> Result<(), Error> {
let raw = CONFIG.write(DATASTORE_CFG_FILENAME, config)?;
replace_backup_config(DATASTORE_CFG_FILENAME, raw.as_bytes())?;
// increase datastore version
// We use this in pbs-datastore
// used in pbs-datastore
let version_cache = ConfigVersionCache::new()?;
version_cache.increase_datastore_generation();