diff options
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/container/state_file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/container/state_file.go b/runsc/container/state_file.go index 4ed73eb84..0399903a0 100644 --- a/runsc/container/state_file.go +++ b/runsc/container/state_file.go @@ -245,7 +245,7 @@ type StateFile struct { // lock globally locks all locking operations for the container. func (s *StateFile) lock() error { s.once.Do(func() { - s.flock = flock.NewFlock(s.lockPath()) + s.flock = flock.New(s.lockPath()) }) if err := s.flock.Lock(); err != nil { |