From 54d96c79b5b9f3d5d47aed59729ae779968fbecb Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 23 Jul 2019 20:50:39 +0200 Subject: Removed unnecessary conversions (#7557) No need to convert to the same type. --- modules/lfs/locks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/lfs/locks.go') diff --git a/modules/lfs/locks.go b/modules/lfs/locks.go index 4516ba01ae..d7b2429698 100644 --- a/modules/lfs/locks.go +++ b/modules/lfs/locks.go @@ -97,7 +97,7 @@ func GetListLockHandler(ctx *context.Context) { }) return } - lock, err := models.GetLFSLockByID(int64(v)) + lock, err := models.GetLFSLockByID(v) handleLockListOut(ctx, repository, lock, err) return } -- cgit v1.2.3