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
Madan Jampani
2016-02-17 18:33:11 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1c9b4e9f71a9033088ad1fd5419f362624a9d482
1c9b4e9f
1 parent
6c17718e
Fix NPE in StoragePartition
Change-Id: Ibd71260381d79304243ae7448ff4b2155483dd5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/StoragePartition.java
core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/StoragePartition.java
View file @
1c9b4e9
...
...
@@ -78,7 +78,7 @@ public class StoragePartition extends DefaultPartition implements Managed<Storag
@Override
public
CompletableFuture
<
Void
>
open
()
{
return
openServer
().
thenAccept
(
s
->
server
=
Optional
.
of
(
s
))
return
openServer
().
thenAccept
(
s
->
server
=
Optional
.
of
Nullable
(
s
))
.
thenCompose
(
v
->
openClient
())
.
thenAccept
(
v
->
isOpened
.
set
(
true
))
.
thenApply
(
v
->
null
);
...
...
Please
register
or
login
to post a comment