Commit 83a99e09 authored by Gary Wong's avatar Gary Wong
Browse files

Ignore duplicate users in the monitoring ops_slice_user table.

parent c90c76f4
...@@ -258,7 +258,7 @@ sub AddSliceUser($$$) { ...@@ -258,7 +258,7 @@ sub AddSliceUser($$$) {
( $udomain, $utype, $uname ) = GeniHRN::Parse( $user_urn ); ( $udomain, $utype, $uname ) = GeniHRN::Parse( $user_urn );
emdbi::DBQueryWarnN( $db, "INSERT INTO ops_slice_user SET " . emdbi::DBQueryWarnN( $db, "INSERT IGNORE INTO ops_slice_user SET " .
"id='${udomain}_user_${uname}', " . "id='${udomain}_user_${uname}', " .
"slice_id='$slice_id', " . "slice_id='$slice_id', " .
"urn='$user_urn', " . "urn='$user_urn', " .
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment