Skip to content

Commit

Permalink
Merge pull request #23 from traPtitech/fix/format
Browse files Browse the repository at this point in the history
fix fmt.Sprintfが抜けていた
  • Loading branch information
MotoyaAsahina authored Jan 7, 2022
2 parents 97f818e + 9b33868 commit 0e304a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (sc *ServerRestartCommand) Execute(ctx *Context) error {
token, err := getConohaAPIToken()
if err != nil {
ctx.L().Error("failed to get ConoHa API token", zap.Error(err))
return ctx.ReplyFailure(":x: An error has occurred while getting ConoHa API token. Please retry after a while. %s", cite(ctx.P.Message.ID))
return ctx.ReplyFailure(fmt.Sprintf(":x: An error has occurred while getting ConoHa API token. Please retry after a while. %s", cite(ctx.P.Message.ID)))
}

req, err := sling.New().
Expand Down

0 comments on commit 0e304a8

Please sign in to comment.