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-19 14:34:08 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-16 13:48:21 -04:00
2016-07-16 13:48:21 -04:00
2016-07-08 13:01:41 +02:00
2016-07-16 13:48:21 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-16 13:48:21 -04:00
2016-07-05 05:33:28 -07:00
2016-06-29 17:47:36 -07:00
2016-07-16 13:48:21 -04:00
2016-07-16 13:48:21 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-14 15:38:14 +02:00
2016-07-16 13:48:21 -04:00
2016-06-29 17:47:36 -07:00
2016-07-26 07:00:26 +02:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-16 13:48:21 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-07 16:49:46 -07:00
2016-06-29 17:47:36 -07:00
2016-07-16 13:48:21 -04:00
2016-06-29 17:47:36 -07:00
2016-07-16 13:48:21 -04:00
2016-06-29 17:47:36 -07:00
2016-07-16 13:48:21 -04:00
2016-07-16 13:48:21 -04:00
2016-06-29 17:47:36 -07:00
2016-07-21 09:10:00 -04:00
2016-07-20 08:47:15 -05:00
2016-07-12 10:30:33 -07:00
2016-07-21 13:07:30 -04:00
2016-06-29 17:47:36 -07: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-06-29 17:47:36 -07:00
2016-07-04 18:23:58 +02:00
2016-07-19 21:54:26 -07:00
2016-07-16 13:48:21 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-07 12:13:14 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-27 17:22:30 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-03 02:20:11 -07: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-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-16 13:48:21 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00