diff options
author | Jonas <cez81@users.noreply.github.com> | 2017-03-27 05:24:48 +0200 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2017-03-26 23:24:48 -0400 |
commit | f40eb9774e5466917efd65c519cd0caaa8b230de (patch) | |
tree | 45d5e004fe0524f523ab730012169beec2a62cdf /models/mirror.go | |
parent | 496e07c1c94cbb2334028191a8984c2314bbc47f (diff) |
modes/mirror: corrected NextUpdate not set (#4345)
Diffstat (limited to 'models/mirror.go')
-rw-r--r-- | models/mirror.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/mirror.go b/models/mirror.go index c5307ae4..2200d777 100644 --- a/models/mirror.go +++ b/models/mirror.go @@ -60,7 +60,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() } } |