Files
kubernetes/pkg/volume
k8s-merge-robot 62e7c57acc Merge pull request #29598 from matttproud/refactor/simplify/goroutinemap
Automatic merge from submit-queue

pkg/util/goroutinemap: apply idiomatic Go cleanups

Package goroutinemap can be structurally simplified to be more
idiomatic, concise, and free of error potential.  No structural changes
are made.

It is unconventional declare `sync.Mutex` directly as a pointerized
field in a parent structure.  The `sync.Mutex` operates on pointer
receivers of itself; and by relying on that, the types that contain
those fields can be safely constructed using
https://golang.org/ref/spec#The_zero_value semantic.

The duration constants are already of type `time.Duration`, so
re-declaring that is redundant.

/CC: @saad-ali
2016-07-28 04:44:26 -07:00
..
2016-07-21 09:10:00 -04:00
2016-07-16 13:48:21 -04:00
2016-07-16 13:48:21 -04:00
2016-07-21 09:10:00 -04:00
2016-07-27 12:24:46 +03:00
2016-07-27 12:24:46 +03:00
2016-07-16 13:48:21 -04:00
2016-07-16 13:48:21 -04:00
2016-07-21 09:10:00 -04:00
2016-07-21 09:10:00 -04:00
2016-07-16 13:48:21 -04:00
2016-07-16 13:48:21 -04:00
2016-07-16 13:48:21 -04:00
2016-07-16 13:48:21 -04:00
2016-07-21 09:10:00 -04:00
2016-07-27 12:24:46 +03:00
2016-07-16 13:48:21 -04:00
2016-03-02 20:46:32 -05:00
2016-07-11 12:32:32 +02:00