forked from forgejo/forgejo
#1896 fatal when no needed update task
This commit is contained in:
parent
9372eedf2e
commit
f255b1e86d
10 changed files with 66 additions and 46 deletions
|
@ -42,10 +42,8 @@ func runUpdate(c *cli.Context) {
|
|||
log.GitLogger.Fatal(2, "refName is empty, shouldn't use")
|
||||
}
|
||||
|
||||
uuid := os.Getenv("uuid")
|
||||
|
||||
task := models.UpdateTask{
|
||||
UUID: uuid,
|
||||
UUID: os.Getenv("uuid"),
|
||||
RefName: args[0],
|
||||
OldCommitID: args[1],
|
||||
NewCommitID: args[2],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue