Skip to content

Commit

Permalink
Fix prepare cplus process name.
Browse files Browse the repository at this point in the history
Signed-off-by: yangli <[email protected]>
  • Loading branch information
Christophernt authored and xcaspar committed Sep 5, 2022
1 parent 7b8b3db commit 6c8c360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/prepare_cplus.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (pc *PrepareCPlusCommand) prepareCPlus() error {
return spec.ResponseFailWithFlags(spec.DatabaseError, "query", err)
}
if record == nil || record.Status != Running {
record, err = insertPrepareRecord(PrepareCPlusType, portStr, portStr, "")
record, err = insertPrepareRecord(PrepareCPlusType, pc.Name(), portStr, "")
if err != nil {
log.Errorf(ctx, util.GetRunFuncName(), spec.DatabaseError.Sprintf("insert", err))
return spec.ResponseFailWithFlags(spec.DatabaseError, "insert", err)
Expand Down

0 comments on commit 6c8c360

Please sign in to comment.