Skip to content

Commit

Permalink
Corrected Mirror.NextUpdate not set
Browse files Browse the repository at this point in the history
  • Loading branch information
cez81 committed Mar 31, 2017
1 parent 6a39250 commit 03b1fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/repo_mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (m *Mirror) AfterSet(colName string, _ xorm.Cell) {
}
case "updated_unix":
m.Updated = time.Unix(m.UpdatedUnix, 0).Local()
case "next_updated_unix":
case "next_update_unix":
m.NextUpdate = time.Unix(m.NextUpdateUnix, 0).Local()
}
}
Expand Down

0 comments on commit 03b1fe5

Please sign in to comment.