mirror of https://github.com/hashicorp/boundary
credential: fix lint errors (#3746)
The existing pattern was subject to a bug whereby a lock value was copied every time the value was passed around. This was happening because of the use of an embedded protobuf type. To avoid copying a mutex, use a pointer type in the embedding. Also fixes a few linter warnings complaining about the use of unkeyed literals.pull/3643/head^2
parent
35a8fa62cf
commit
2e0587bff0
Loading…
Reference in new issue