[pve-devel] [PATCH ha-manager 12/13] Whitespace cleanup
Fabian Ebner
f.ebner at proxmox.com
Thu Sep 26 13:38:58 CEST 2019
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
src/PVE/API2/HA/Resources.pm | 10 +++++-----
src/PVE/HA/Manager.pm | 1 -
src/PVE/HA/Resources/PVEVM.pm | 1 -
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/PVE/API2/HA/Resources.pm b/src/PVE/API2/HA/Resources.pm
index 4e7205f..cf75ffc 100644
--- a/src/PVE/API2/HA/Resources.pm
+++ b/src/PVE/API2/HA/Resources.pm
@@ -54,7 +54,7 @@ __PACKAGE__->register_method ({
check => ['perm', '/', [ 'Sys.Audit' ]],
},
parameters => {
- additionalProperties => 0,
+ additionalProperties => 0,
properties => {
type => {
description => "Only list resources of specific type",
@@ -100,7 +100,7 @@ __PACKAGE__->register_method ({
},
description => "Read resource configuration.",
parameters => {
- additionalProperties => 0,
+ additionalProperties => 0,
properties => {
sid => get_standard_option('pve-ha-resource-or-vm-id',
{ completion => \&PVE::HA::Tools::complete_sid }),
@@ -255,7 +255,7 @@ __PACKAGE__->register_method ({
check => ['perm', '/', [ 'Sys.Console' ]],
},
parameters => {
- additionalProperties => 0,
+ additionalProperties => 0,
properties => {
sid => get_standard_option('pve-ha-resource-or-vm-id',
{ completion => \&PVE::HA::Tools::complete_sid }),
@@ -296,7 +296,7 @@ __PACKAGE__->register_method ({
check => ['perm', '/', [ 'Sys.Console' ]],
},
parameters => {
- additionalProperties => 0,
+ additionalProperties => 0,
properties => {
sid => get_standard_option('pve-ha-resource-or-vm-id',
{ completion => \&PVE::HA::Tools::complete_sid }),
@@ -331,7 +331,7 @@ __PACKAGE__->register_method ({
check => ['perm', '/', [ 'Sys.Console' ]],
},
parameters => {
- additionalProperties => 0,
+ additionalProperties => 0,
properties => {
sid => get_standard_option('pve-ha-resource-or-vm-id',
{ completion => \&PVE::HA::Tools::complete_sid }),
diff --git a/src/PVE/HA/Manager.pm b/src/PVE/HA/Manager.pm
index 768baa7..8031ca1 100644
--- a/src/PVE/HA/Manager.pm
+++ b/src/PVE/HA/Manager.pm
@@ -555,7 +555,6 @@ sub next_state_migrate_relocate {
}
}
-
sub next_state_stopped {
my ($self, $sid, $cd, $sd, $lrm_res) = @_;
diff --git a/src/PVE/HA/Resources/PVEVM.pm b/src/PVE/HA/Resources/PVEVM.pm
index 37708c5..45d87e8 100644
--- a/src/PVE/HA/Resources/PVEVM.pm
+++ b/src/PVE/HA/Resources/PVEVM.pm
@@ -94,7 +94,6 @@ sub shutdown {
PVE::HA::Tools::upid_wait($upid, $haenv);
}
-
sub migrate {
my ($class, $haenv, $id, $target, $online) = @_;
--
2.20.1
More information about the pve-devel
mailing list