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
Ray Milkey
2015-06-25 13:08:02 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6e8b81e1bf096bd0a5c13cd36f7436d53570e4c6
6e8b81e1
1 parent
85571ebe
Remove references to deprecated APIs
Change-Id: Ib351f4200a73a74eb405a280afd4bf90dc5d9dad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
cli/src/main/java/org/onosproject/cli/net/CountersListCommand.java
cli/src/main/java/org/onosproject/cli/net/CountersListCommand.java
View file @
6e8b81e
...
...
@@ -77,12 +77,12 @@ public class CountersListCommand extends AbstractShellCommand {
// Create a JSON node for partitioned database counter
ObjectNode
jsonPartitionedDatabaseCounters
=
mapper
.
createObjectNode
();
jsonPartitionedDatabaseCounters
.
pu
t
(
"partitionedDatabaseCounters"
,
jsonPartitionedDatabaseCounters
.
se
t
(
"partitionedDatabaseCounters"
,
json
(
partitionedDbCounters
));
jsonCounters
.
add
(
jsonPartitionedDatabaseCounters
);
// Create a JSON node for in-memory database counter
ObjectNode
jsonInMemoryDatabseCounters
=
mapper
.
createObjectNode
();
jsonInMemoryDatabseCounters
.
pu
t
(
"inMemoryDatabaseCounters"
,
jsonInMemoryDatabseCounters
.
se
t
(
"inMemoryDatabaseCounters"
,
json
(
inMemoryDbCounters
));
jsonCounters
.
add
(
jsonInMemoryDatabseCounters
);
...
...
Please
register
or
login
to post a comment