Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <admin@liudos.us>
  • Loading branch information
lhy1024 committed Nov 16, 2023
1 parent 3c19255 commit 63aa2f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/mcs/tso/server/apis/v1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ type ResetTSParams struct {
// @Failure 400 {string} string "The input is invalid."
// @Failure 403 {string} string "Reset ts is forbidden."
// @Failure 500 {string} string "TSO server failed to proceed the request."
// @Failure 503 {string} string "Etcd transaction failed, conflicted and rolled back"
// @Router /admin/reset-ts [post]
// if force-use-larger=true:
//
Expand Down
1 change: 1 addition & 0 deletions pkg/tso/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func NewAdminHandler(handler Handler, rd *render.Render) *AdminHandler {
// @Failure 400 {string} string "The input is invalid."
// @Failure 403 {string} string "Reset ts is forbidden."
// @Failure 500 {string} string "TSO server failed to proceed the request."
// @Failure 503 {string} string "Etcd transaction failed, conflicted and rolled back"
// @Router /admin/reset-ts [post]
// if force-use-larger=true:
//
Expand Down

0 comments on commit 63aa2f8

Please sign in to comment.