File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const (
23
23
tplViewActions base.TplName = "repo/actions/view"
24
24
)
25
25
26
- type WorkFlow struct {
26
+ type Workflow struct {
27
27
Entry git.TreeEntry
28
28
IsInvalid bool
29
29
ErrMsg string
@@ -53,7 +53,7 @@ func List(ctx *context.Context) {
53
53
ctx .Data ["Title" ] = ctx .Tr ("actions.actions" )
54
54
ctx .Data ["PageIsActions" ] = true
55
55
56
- var workflows []WorkFlow
56
+ var workflows []Workflow
57
57
if empty , err := ctx .Repo .GitRepo .IsEmpty (); err != nil {
58
58
ctx .Error (http .StatusInternalServerError , err .Error ())
59
59
return
@@ -73,9 +73,9 @@ func List(ctx *context.Context) {
73
73
ctx .Error (http .StatusInternalServerError , err .Error ())
74
74
return
75
75
}
76
- workflows = make ([]WorkFlow , 0 , len (entries ))
76
+ workflows = make ([]Workflow , 0 , len (entries ))
77
77
for _ , entry := range entries {
78
- workflow := WorkFlow {Entry : * entry }
78
+ workflow := Workflow {Entry : * entry }
79
79
content , err := actions .GetContentFromEntry (entry )
80
80
if err != nil {
81
81
ctx .Error (http .StatusInternalServerError , err .Error ())
You can’t perform that action at this time.
0 commit comments