Skip to content

Commit cbf286f

Browse files
xiepaupiSecloud
authored andcommitted
fix(redis): 修复Predixy复用 #14515
1 parent 23d0c9c commit cbf286f

File tree

1 file changed

+2
-2
lines changed
  • dbm-services/redis/db-tools/dbactuator/pkg/atomjobs/atomproxy

1 file changed

+2
-2
lines changed

dbm-services/redis/db-tools/dbactuator/pkg/atomjobs/atomproxy/proxy_reuse.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ func (job *ProxyReUse) reGeneratePredixyConfig(port int) error {
276276
// 配置文件
277277
conf := common.PredixConf
278278
// 修改配置文件
279-
instance_base := fmt.Sprintf("%s/%d", consts.GetRedisDataDir(), job.params.Port)
279+
instance_base := fmt.Sprintf("%s/predixy/%d", consts.GetRedisDataDir(), job.params.Port)
280280
config_path := fmt.Sprintf("%s/predixy.conf", instance_base)
281-
log := fmt.Sprintf("%s/predixy/%d/logs/log", consts.GetRedisDataDir(), job.params.Port)
281+
log := fmt.Sprintf("%s/logs/log", instance_base)
282282

283283
bind := fmt.Sprintf("%s:%s", job.params.IP, strconv.Itoa(job.params.Port))
284284
var servers string

0 commit comments

Comments
 (0)