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.6-6-g3924b69 ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Tue, 20 May 2014 05:41:50 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.6-6-g3924b69
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 3924b6950aec6b67196d1180ce739f2c2ec28cd6 (commit)
from a016937ebb9515c037e44940b0e0cc172b96f786 (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 3924b6950aec6b67196d1180ce739f2c2ec28cd6
Author: Carlos Vicente <[email protected]>
Date: Tue May 20 08:41:39 2014 -0400
Avoid warning from Device.pm when snmp_target not set
diff --git a/lib/Netdot/Model/Device.pm b/lib/Netdot/Model/Device.pm
index 5db947c..7a1a918 100644
--- a/lib/Netdot/Model/Device.pm
+++ b/lib/Netdot/Model/Device.pm
@@ -6278,7 +6278,7 @@ sub _update_interfaces {
}
# Don't delete snmp_target address unless updating via UI
- if ( $ENV{REMOTE_USER} eq 'netdot' &&
+ if ( $ENV{REMOTE_USER} eq 'netdot' && $self->snmp_target &&
$self->snmp_target->id == $obj->id ){
$logger->debug(sub{sprintf("%s: IP %s is snmp target. Skipping
delete",
$host, $obj->address)});
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Model/Device.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Netdot
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 86, Issue 12
********************************************