|
@@ -51,6 +51,9 @@ const ( |
|
|
|
|
|
|
|
|
func DebugJobIndex(ctx *context.Context) { |
|
|
func DebugJobIndex(ctx *context.Context) { |
|
|
listType := ctx.Query("debugListType") |
|
|
listType := ctx.Query("debugListType") |
|
|
|
|
|
if listType == "" { |
|
|
|
|
|
listType = models.AllResource |
|
|
|
|
|
} |
|
|
ctx.Data["ListType"] = listType |
|
|
ctx.Data["ListType"] = listType |
|
|
MustEnableCloudbrain(ctx) |
|
|
MustEnableCloudbrain(ctx) |
|
|
repo := ctx.Repo.Repository |
|
|
repo := ctx.Repo.Repository |
|
|