mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
Merge pull request #6059 from erikh/fix-tests
Fix race condition in CLI tests: diff was not acquiring a container lock
This commit is contained in:
@@ -673,6 +673,8 @@ func (container *Container) Mount() error {
|
||||
}
|
||||
|
||||
func (container *Container) Changes() ([]archive.Change, error) {
|
||||
container.Lock()
|
||||
defer container.Unlock()
|
||||
return container.daemon.Changes(container)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user