mirror of
git://git.proxmox.com/git/pve-firewall.git
synced 2025-01-23 02:04:19 +03:00
whitespace fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
6198a78f13
commit
84f91498b5
@ -120,7 +120,7 @@ __PACKAGE__->register_method({
|
||||
$group ne $rename;
|
||||
|
||||
if ($rename eq $group) {
|
||||
$cluster_conf->{group_comments}->{$rename} = $comment if defined($comment);
|
||||
$cluster_conf->{group_comments}->{$rename} = $comment if defined($comment);
|
||||
PVE::Firewall::save_clusterfw_conf($cluster_conf);
|
||||
return;
|
||||
}
|
||||
@ -143,7 +143,7 @@ __PACKAGE__->register_method({
|
||||
my $host_conf_path = "/etc/pve/nodes/$host/host.fw";
|
||||
my $host_conf = PVE::Firewall::load_hostfw_conf($cluster_conf, $host_conf_path);
|
||||
|
||||
if(defined($host_conf)) {
|
||||
if (defined($host_conf)) {
|
||||
&$rename_fw_rules($rename,
|
||||
$group,
|
||||
$host_conf->{rules});
|
||||
|
Loading…
x
Reference in New Issue
Block a user