From e7493e953f7cc32569b08f48a46e4cf0bacbf74e Mon Sep 17 00:00:00 2001 From: Jonas Date: Thu, 6 Apr 2017 02:56:45 +0200 Subject: Corrected Mirror.NextUpdate not set (#1388) --- models/repo_mirror.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') diff --git a/models/repo_mirror.go b/models/repo_mirror.go index 068911282e..d8d4bc0bec 100644 --- a/models/repo_mirror.go +++ b/models/repo_mirror.go @@ -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() } } -- cgit v1.2.3