Skip to content

Commit

Permalink
Update dm/pkg/ha/openapi_task_config.go
Browse files Browse the repository at this point in the history
Co-authored-by: okJiang <[email protected]>
  • Loading branch information
Ehco1996 and okJiang authored Dec 13, 2021
1 parent e115a8d commit f9a4026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dm/pkg/ha/openapi_task_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func PutOpenAPITaskConfig(cli *clientv3.Client, task openapi.Task, overWrite boo
return nil
}

// UpdateOpenAPITaskConfig puts the openapi task config of task-name.
// UpdateOpenAPITaskConfig updates the openapi task config by task-name.
func UpdateOpenAPITaskConfig(cli *clientv3.Client, task openapi.Task) error {
ctx, cancel := context.WithTimeout(cli.Ctx(), etcdutil.DefaultRequestTimeout)
defer cancel()
Expand Down

0 comments on commit f9a4026

Please sign in to comment.