Corrected Mirror.NextUpdate not set (#1388)

tokarchuk/v1.17
Jonas 8 years ago committed by Lunny Xiao
parent 2d1efcc270
commit e7493e953f
  1. 2
      models/repo_mirror.go

@ -61,7 +61,7 @@ func (m *Mirror) AfterSet(colName string, _ xorm.Cell) {
} }
case "updated_unix": case "updated_unix":
m.Updated = time.Unix(m.UpdatedUnix, 0).Local() m.Updated = time.Unix(m.UpdatedUnix, 0).Local()
case "next_updated_unix": case "next_update_unix":
m.NextUpdate = time.Unix(m.NextUpdateUnix, 0).Local() m.NextUpdate = time.Unix(m.NextUpdateUnix, 0).Local()
} }
} }

Loading…
Cancel
Save