remove unused lock
@@ -16,7 +16,6 @@ const (
LockTypeResourceConfigChecking = iota
LockTypeBuildTracking
LockTypePipelineScheduling
- LockTypeResourceCheckingForJob
LockTypeBatch
LockTypeVolumeCreating
LockTypeContainerCreating
@@ -36,10 +35,6 @@ func NewPipelineSchedulingLockLockID(pipelineID int) LockID {
return LockID{LockTypePipelineScheduling, pipelineID}
}
-func NewResourceCheckingForJobLockID(jobID int) LockID {
- return LockID{LockTypeResourceCheckingForJob, jobID}
-}
-
func NewTaskLockID(taskName string) LockID {
return LockID{LockTypeBatch, lockIDFromString(taskName)}
}
