Skip to content

Commit

Permalink
fix: rpc cdn sync piece tasks (#1168)
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Ma <[email protected]>
  • Loading branch information
jim3ma authored Mar 18, 2022
1 parent 57aabb2 commit a27450c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rpc/cdnsystem/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (cc *cdnClient) SyncPieceTasks(ctx context.Context, addr dfnet.NetAddr, req
if err != nil {
return nil, err
}
return client.GetPieceTasks(ctx, req, opts...)
return client.SyncPieceTasks(ctx, opts...)
}, 0.2, 2.0, 3, nil)
if err != nil {
logger.WithTaskID(req.TaskId).Infof("SyncPieceTasks: invoke cdn node %s SyncPieceTasks failed: %v", addr.GetEndpoint(), err)
Expand Down

0 comments on commit a27450c

Please sign in to comment.