]> git.proxmox.com Git - pmg-api.git/commitdiff
fix typo
authorDavid Limbeck <d.limbeck@proxmox.com>
Tue, 30 Oct 2018 09:44:29 +0000 (10:44 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 30 Oct 2018 10:43:14 +0000 (11:43 +0100)
Signed-off-by: David Limbeck <d.limbeck@proxmox.com>
PMG/API2/Cluster.pm
PMG/CLI/pmgcm.pm

index 40e329ea16e58cd15563467114bc1f98584c2edc..ceda100993e722a7741cdd1cffd1add8b886662b 100644 (file)
@@ -346,7 +346,7 @@ __PACKAGE__->register_method({
        my $realcmd = sub {
            my $cinfo = PMG::ClusterConfig->new();
 
-           die "cluster alreayd defined\n" if scalar(keys %{$cinfo->{ids}});
+           die "cluster already defined\n" if scalar(keys %{$cinfo->{ids}});
 
            my $info = PMG::Cluster::read_local_cluster_info();
 
@@ -425,7 +425,7 @@ __PACKAGE__->register_method({
        my $realcmd = sub {
            my $cinfo = PMG::ClusterConfig->new();
 
-           die "cluster alreayd defined\n" if scalar(keys %{$cinfo->{ids}});
+           die "cluster already defined\n" if scalar(keys %{$cinfo->{ids}});
 
            my $setup = {
                username => 'root@pam',
index fb34a6c1e43088a05a618d2fe5d150a8aad646d6..c41c24d5d012905f10d7fd9e2d24213058f76f5b 100644 (file)
@@ -181,7 +181,7 @@ __PACKAGE__->register_method({
        my $code = sub {
            my $cinfo = PMG::ClusterConfig->new();
 
-           die "cluster alreayd defined\n" if scalar(keys %{$cinfo->{ids}});
+           die "cluster already defined\n" if scalar(keys %{$cinfo->{ids}});
 
            my $term = new Term::ReadLine ('pmgcm');
            my $attribs = $term->Attribs;