chore: unnecessary use of fmt.Sprintf
This commit is contained in:
parent
1e7b6c6251
commit
f8660b0f2d
2 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ func TestBatchLabelsDelete(t *testing.T) {
|
|||
val := gjson.Get(r.Body.String(), `#(Name=="Batch Delete").Slug`)
|
||||
assert.Equal(t, val.String(), "batch-delete")
|
||||
|
||||
r2 := PerformRequestWithBody(app, "POST", "/api/v1/batch/labels/delete", fmt.Sprintf(`{"labels": ["lt9k3pw1wowuy3c6", "pt9jtdre2lvl0ycc"]}`))
|
||||
r2 := PerformRequestWithBody(app, "POST", "/api/v1/batch/labels/delete", `{"labels": ["lt9k3pw1wowuy3c6", "pt9jtdre2lvl0ycc"]}`)
|
||||
|
||||
var resp i18n.Response
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ func usersResetAction(ctx *cli.Context) error {
|
|||
// Show prompt?
|
||||
if !confirmed {
|
||||
actionPrompt := promptui.Prompt{
|
||||
Label: fmt.Sprintf("Reset the user database to a clean state?"),
|
||||
Label: "Reset the user database to a clean state?",
|
||||
IsConfirm: true,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue