Skip to content

Commit

Permalink
Remove unused forceID var
Browse files Browse the repository at this point in the history
  • Loading branch information
tstromberg committed Dec 11, 2019
1 parent 3171493 commit d811f6e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/util/lock/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ import (
"github.com/pkg/errors"
)

var (
// forceID is a user id for consistent testing
forceID = ""
)

// WriteFile decorates ioutil.WriteFile with a file lock and retry
func WriteFile(filename string, data []byte, perm os.FileMode) error {
spec := PathMutexSpec(filename)
Expand Down

0 comments on commit d811f6e

Please sign in to comment.