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-11-04 09:17:08 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c9c9e2262eca7e5c67b22fab217e6042ce2844f5
c9c9e226
1 parent
275fb6b4
fix type mismatch
Change-Id: I5f0994ebbb46bb7bfe5926a27923f0971b58729a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
core/store/dist/src/main/java/org/onlab/onos/store/resource/impl/DistributedLinkResourceStore.java
core/store/trivial/src/main/java/org/onlab/onos/store/trivial/impl/SimpleLinkResourceStore.java
core/store/dist/src/main/java/org/onlab/onos/store/resource/impl/DistributedLinkResourceStore.java
View file @
c9c9e22
...
...
@@ -195,7 +195,7 @@ public class DistributedLinkResourceStore implements LinkResourceStore {
@Override
public
void
releaseResources
(
LinkResourceAllocations
allocations
)
{
checkNotNull
(
allocations
);
linkResourceAllocationsMap
.
remove
(
allocations
);
linkResourceAllocationsMap
.
remove
(
allocations
.
intendId
()
);
for
(
Link
link
:
allocations
.
links
())
{
addFreeResources
(
link
,
allocations
);
Set
<
LinkResourceAllocations
>
linkAllocs
=
allocatedResources
.
get
(
link
);
...
...
core/store/trivial/src/main/java/org/onlab/onos/store/trivial/impl/SimpleLinkResourceStore.java
View file @
c9c9e22
...
...
@@ -195,7 +195,7 @@ public class SimpleLinkResourceStore implements LinkResourceStore {
@Override
public
void
releaseResources
(
LinkResourceAllocations
allocations
)
{
checkNotNull
(
allocations
);
linkResourceAllocationsMap
.
remove
(
allocations
);
linkResourceAllocationsMap
.
remove
(
allocations
.
intendId
()
);
for
(
Link
link
:
allocations
.
links
())
{
addFreeResources
(
link
,
allocations
);
Set
<
LinkResourceAllocations
>
linkAllocs
=
allocatedResources
.
get
(
link
);
...
...
Please
register
or
login
to post a comment