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:
parent
118deb4db8
commit
e1f9553f2d
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user