Skip to content

Commit

Permalink
storage: fix null pointer dereference in AdminMerge
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
jeffrey-xiao committed Jun 25, 2019
1 parent 6534f6c commit 0b76aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/replica_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ func (r *Replica) AdminMerge(
if err != nil {
return err
}
if err := dbRightDescKV.Value.GetProto(&rightDesc); err != nil {
if err := dbRightDescKV.ValueProto(&rightDesc); err != nil {
return err
}

Expand Down

0 comments on commit 0b76aa6

Please sign in to comment.