Skip to content

Commit 5551b2f

Browse files
committed
fix comment
1 parent 0c13471 commit 5551b2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/lfs/locks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func PostLockHandler(ctx *context.Context) {
176176
}
177177

178178
var taskID int64
179-
// Pass Actions Task ID in context if creating lock using Actions Job Token
179+
// Passing a non zero Actions Task ID as parameter if creating lock using Actions Job Token
180180
if ctx.Data["IsActionsToken"] == true {
181181
taskID = ctx.Data["ActionsTaskID"].(int64)
182182
}
@@ -322,7 +322,7 @@ func UnLockHandler(ctx *context.Context) {
322322
}
323323

324324
var taskID int64
325-
// Pass Actions Task ID in context if deleting lock using Actions Job Token
325+
// Passing a non zero Actions Task ID as parameter if deleting lock using Actions Job Token
326326
if ctx.Data["IsActionsToken"] == true {
327327
taskID = ctx.Data["ActionsTaskID"].(int64)
328328
}

0 commit comments

Comments
 (0)