Skip to content

Commit a1c0ee9

Browse files
committed
fix lint
1 parent 68079aa commit a1c0ee9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

models/repo.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,10 +2208,13 @@ const (
22082208
archiveCleanup = "archive_cleanup"
22092209
)
22102210

2211+
// TaskStartIfNotRunning sets value of given name to true if not already in pool.
2212+
// Returns whether set value was set to true
22112213
func TaskStartIfNotRunning(name string) bool {
22122214
return taskStatusTable.StartIfNotRunning(name)
22132215
}
22142216

2217+
// TaskStop sets value of given name to false in the pool.
22152218
func TaskStop(name string) {
22162219
taskStatusTable.Stop(name)
22172220
}

0 commit comments

Comments
 (0)