Oops! Fix updateLink() function in topology view.
(also add linkupdate scenario). Change-Id: Ic0f6753745e43c5fc76a6cb180a0c8a66178c657
Showing
13 changed files
with
167 additions
and
3 deletions
... | @@ -230,7 +230,7 @@ | ... | @@ -230,7 +230,7 @@ |
230 | d = result.ldata; | 230 | d = result.ldata; |
231 | 231 | ||
232 | if (bad) { | 232 | if (bad) { |
233 | - //logicError(bad + ': ' + link.id); | 233 | + $log.debug(bad + ': ' + link.id); |
234 | return; | 234 | return; |
235 | } | 235 | } |
236 | 236 | ||
... | @@ -255,10 +255,10 @@ | ... | @@ -255,10 +255,10 @@ |
255 | var result = tms.findLink(data, 'update'), | 255 | var result = tms.findLink(data, 'update'), |
256 | bad = result.badLogic; | 256 | bad = result.badLogic; |
257 | if (bad) { | 257 | if (bad) { |
258 | - //logicError(bad + ': ' + link.id); | 258 | + $log.debug(bad + ': ' + link.id); |
259 | return; | 259 | return; |
260 | } | 260 | } |
261 | - result.updateWith(link); | 261 | + result.updateWith(data); |
262 | } | 262 | } |
263 | 263 | ||
264 | function removeLink(data) { | 264 | function removeLink(data) { | ... | ... |
-
Please register or login to post a comment