Skip to content

Commit ce835ca

Browse files
backup: read gc addr from backup cfg (#669)
Signed-off-by: huanghaoyuanhhy <[email protected]>
1 parent e82552d commit ce835ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/backup/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func NewTask(
6464
if request.GetGcPauseEnable() || params.BackupCfg.GcPauseEnable {
6565
addr := request.GetGcPauseAddress()
6666
if len(addr) == 0 {
67-
addr = params.MilvusCfg.Address
67+
addr = params.BackupCfg.GcPauseAddress
6868
}
6969

7070
manage = client.NewManage(addr)

0 commit comments

Comments
 (0)