[pve-devel] [PATCH v7 guest-common] Adapt description of get_backup_volumes

Aaron Lauterer a.lauterer at proxmox.com
Mon Jun 22 16:34:39 CEST 2020


as `data` was a bit too generic we now use `volume_config` in the actual
implementations. Thus we should adapt the description as well.

Tab spacing for the other keys has been adapted for easier readabilty.

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---

turns out that the `+` in the git diff pushes the description for
`included` one tab further. should look okay though once applied.


 PVE/AbstractConfig.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/PVE/AbstractConfig.pm b/PVE/AbstractConfig.pm
index 90e0b4c..4c9ad2c 100644
--- a/PVE/AbstractConfig.pm
+++ b/PVE/AbstractConfig.pm
@@ -527,10 +527,10 @@ sub get_replicatable_volumes {
 # Return Format (array-ref with hash-refs as elements):
 # [
 #   {
-#     key,        key in the config, e.g. mp0, scsi0,...
-#     included,   boolean
-#     reason,     string
-#     data        volume object as returned from foreach_drive/foreach_mountpoint
+#     key,		key in the config, e.g. mp0, scsi0,...
+#     included,		boolean
+#     reason,		string
+#     volume_config	volume object as returned from foreach_volume()
 #   },
 # ]
 sub get_backup_volumes {
-- 
2.20.1





More information about the pve-devel mailing list