Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [SCM] Netdot branch netdot-1.0 updated.
      netdot-1.0.2-33-g9852f99 ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Mon, 3 Dec 2012 12:56:16 -0800
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
        netdot-1.0.2-33-g9852f99
To: [email protected]
Message-ID: <[email protected]>

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Netdot".

The branch, netdot-1.0 has been updated
       via  9852f998a37de7e904b4e434b216738e075db512 (commit)
      from  c5d7570a5fb631b2beda35617e4ce00f982e250e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9852f998a37de7e904b4e434b216738e075db512
Author: Carlos Vicente <[email protected]>
Date:   Mon Dec 3 15:55:55 2012 -0500

    Fixed wrong error message

diff --git a/lib/Netdot/Model/Device.pm b/lib/Netdot/Model/Device.pm
index 0c7c8b7..d8e2738 100644
--- a/lib/Netdot/Model/Device.pm
+++ b/lib/Netdot/Model/Device.pm
@@ -3745,8 +3745,8 @@ sub _validate_args {
            if ( defined $self ){
                if ( $self->id != $otherdev->id ){
                    my $msg = sprintf("%s: Existing device: %s uses S/N %s, MAC 
%s", 
-                                     $self->fqdn, $asset->serial_number, 
$asset->physaddr, 
-                                     $otherdev->fqdn);
+                                     $self->fqdn, $otherdev->fqdn, 
$asset->serial_number, 
+                                     $asset->physaddr);
                    if ( Netdot->config->get('ENFORCE_DEVICE_UNIQUENESS') ){
                        $self->throw_user($msg); 
                    }else{

-----------------------------------------------------------------------

Summary of changes:
 lib/Netdot/Model/Device.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Netdot


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 69, Issue 2
*******************************************

Reply via email to