Author: arkurth
Date: Wed Feb  1 18:07:09 2017
New Revision: 1781292

URL: http://svn.apache.org/viewvc?rev=1781292&view=rev
Log:
Made trivial change to 3 notify messages in image.pm::process.

Modified:
    vcl/trunk/managementnode/lib/VCL/image.pm

Modified: vcl/trunk/managementnode/lib/VCL/image.pm
URL: 
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/image.pm?rev=1781292&r1=1781291&r2=1781292&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/image.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/image.pm Wed Feb  1 18:07:09 2017
@@ -122,18 +122,18 @@ sub process {
                }
        }
 
-       # Make sure image does not exist in the repository
+       # Make sure image does not already exist
        my $image_already_exists = $self->provisioner->does_image_exist();
        if ($image_already_exists) {
-               notify($ERRORS{'CRITICAL'}, 0, "image $image_name already 
exists in the repository");
+               notify($ERRORS{'CRITICAL'}, 0, "image $image_name already 
exists");
                $self->reservation_failed();
        }
        elsif (!defined($image_already_exists)) {
-               notify($ERRORS{'CRITICAL'}, 0, "image $image_name already 
partially exists in the repository");
+               notify($ERRORS{'CRITICAL'}, 0, "failed to determine if image 
$image_name already exists");
                $self->reservation_failed();
        }
        else {
-               notify($ERRORS{'OK'}, 0, "image $image_name does not exist in 
the repository");
+               notify($ERRORS{'OK'}, 0, "image $image_name does not exist");
        }
        
        # Get the current timestamp


Reply via email to