mirror of
https://github.com/moby/moby.git
synced 2026-07-09 08:07:56 +00:00
Allow SetMatrix to be used as a value type with a ready-to-use zero value. SetMatrix values are already non-copyable by virtue of having a mutex field so there is no harm in allowing non-pointer values to be used as local variables or struct fields. Any attempts to pass around by-value copies, e.g. as function arguments, will be flagged by go vet. Signed-off-by: Cory Snider <csnider@mirantis.com>