.State.Phase is read and written by multiple goroutines as reported by `godep go test -race` on Go 1.5.1. Adding the mutex around the object fixes the issue.
5.0 KiB
5.0 KiB
.State.Phase is read and written by multiple goroutines as reported by `godep go test -race` on Go 1.5.1. Adding the mutex around the object fixes the issue.