chore: golang lint

This commit is contained in:
Jason Song committed 2022-11-26 20:14:03 +08:00
1 parent 3b119f3d78
commit 0bd9553219
11 files changed
+93 -107

No files matched your search

+3 -5
View File
@@ -42,11 +42,9 @@ func RunnersList(ctx *context.Context, tplName base.TplName, opts bots_model.Fin
ctx.ServerError("CreateRunnerToken", err)
return
}
} else {
if err != nil {
ctx.ServerError("GetUnactivatedRunnerToken", err)
return
}
} else if err != nil {
ctx.ServerError("GetUnactivatedRunnerToken", err)
return
}
ctx.Data["Keyword"] = opts.Filter