Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Yuta HIGUCHI
2014-10-30 15:06:32 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d40e950c7153983bf4526f90ba9f7cb3c686bd36
d40e950c
1 parent
855ea2d5
use termService field
Change-Id: I56998905db4f0403e8c244937a788555dea37823
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
core/net/src/main/java/org/onlab/onos/net/device/impl/DeviceManager.java
core/net/src/main/java/org/onlab/onos/net/device/impl/DeviceManager.java
View file @
d40e950
...
...
@@ -254,8 +254,7 @@ public class DeviceManager
// }
return
;
}
MastershipTerm
term
=
mastershipService
.
requestTermService
()
.
getMastershipTerm
(
deviceId
);
MastershipTerm
term
=
termService
.
getMastershipTerm
(
deviceId
);
final
NodeId
myNodeId
=
clusterService
.
getLocalNode
().
id
();
if
(!
myNodeId
.
equals
(
term
.
master
()))
{
...
...
Please
register
or
login
to post a comment