From 6c8c36051b2fd9565d599aad10ccc040123de3a9 Mon Sep 17 00:00:00 2001 From: yangli <798862514@qq.com> Date: Wed, 17 Aug 2022 09:54:24 +0800 Subject: [PATCH] Fix prepare cplus process name. Signed-off-by: yangli <798862514@qq.com> --- cli/cmd/prepare_cplus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/prepare_cplus.go b/cli/cmd/prepare_cplus.go index 6f2d82e8..76da577e 100644 --- a/cli/cmd/prepare_cplus.go +++ b/cli/cmd/prepare_cplus.go @@ -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)