instead of tab + space.

Signed-off-by: Max Carrara <m.carr...@proxmox.com>
---
Changes v2 --> v3:
  * new

Changes v3 --> v4:
  * rebased due to previous changes

Changes v4 --> v5: (originally patch 12)
  * rebase onto changes of patch 01
  * align by tab only instead of removing all leading whitespace
    - as it turns out, continued lines are rather rare anyways and
      aligning the keys by tab makes the configuration more readable
  * reword commit message and remove previous explanation

 src/PVE/CephConfig.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/CephConfig.pm b/src/PVE/CephConfig.pm
index 1b6e86c..845b7d2 100644
--- a/src/PVE/CephConfig.pm
+++ b/src/PVE/CephConfig.pm
@@ -72,7 +72,7 @@ sub write_ceph_config {
 
            $out .= "[$section]\n";
            for my $key (sort keys $cfg->{$section}->%*) {
-               $out .= "\t $key = $cfg->{$section}->{$key}\n";
+               $out .= "\t$key = $cfg->{$section}->{$key}\n";
            }
            $out .= "\n";
 
-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to