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 authored and asubiotto committed Jul 2, 2019
1 parent 5968fa5 commit cd0c005
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 @@ -542,7 +542,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 cd0c005

Please sign in to comment.