Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: only execute defaultUserAgent once (#222)
Reading the build info quite expensive, and this wraps the call in a sync.Once so it's only executed the first time, and the result is memoized since the value never changes.
- Loading branch information