fix: typo

This commit is contained in:
guoguangwu 2023-10-12 11:48:15 +08:00
parent 859b2d7824
commit 3e51dda5d0
No known key found for this signature in database
GPG Key ID: AAF9DD3900A8C349
4 changed files with 5 additions and 5 deletions

View File

@ -102,7 +102,7 @@ func (cmd *testWebsocketCommand) run(_ *cobra.Command, args []string) {
} }
defer c.Close(websocket.StatusInternalError, "the sky is falling") defer c.Close(websocket.StatusInternalError, "the sky is falling")
logrus.Info("Writting to server...") logrus.Info("Writing to server...")
err = wsjson.Write(ctx, c, "hi") err = wsjson.Write(ctx, c, "hi")
if err != nil { if err != nil {
logrus.Error(err) logrus.Error(err)

View File

@ -40,7 +40,7 @@ func (h *deleteFrontendHandler) Handle(params admin.DeleteFrontendParams, princi
} }
if err := tx.Commit(); err != nil { if err := tx.Commit(); err != nil {
logrus.Errorf("error commiting frontend '%v' deletion: %v", feToken, err) logrus.Errorf("error committing frontend '%v' deletion: %v", feToken, err)
return admin.NewDeleteFrontendInternalServerError() return admin.NewDeleteFrontendInternalServerError()
} }

View File

@ -57,7 +57,7 @@ func (h *updateFrontendHandler) Handle(params admin.UpdateFrontendParams, princi
} }
if err := tx.Commit(); err != nil { if err := tx.Commit(); err != nil {
logrus.Errorf("error commiting frontend update: %v", err) logrus.Errorf("error committing frontend update: %v", err)
return admin.NewUpdateFrontendInternalServerError() return admin.NewUpdateFrontendInternalServerError()
} }
} }

View File

@ -211,7 +211,7 @@ $ zrok enable klFEoIi0QAg7
⣻ contacting the zrok service... ⣻ contacting the zrok service...
``` ```
After a few seconds, the message will change and indicate that the enable operation suceeded: After a few seconds, the message will change and indicate that the enable operation succeeded:
``` ```
$ zrok enable klFEoIi0QAg7 $ zrok enable klFEoIi0QAg7