applied, but simplified the code:
my $vmtypestr = $d->{type} eq 'qemu' ? 'VM' : 'CT';
die "$vmtypestr $vmid already exists on node '$d->{node}'";
On 09/22/2015 04:21 PM, Alen Grizonic wrote:
changed message if vmid used on a different cluster node
---
data/PVE/Cluster.pm | 14 ++
changed message if vmid used on a different cluster node
---
data/PVE/Cluster.pm | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 63780ac..5860ed9 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -977,1