-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop gratuitous
sync.Once
in google CAs.
This threads `cmd.Context()` into the constructor, and has it call the client constructor directly. Previously the caller was already wrapped in a `sync.Once`, but not this is all called once from the command's `Run` method. Signed-off-by: Matt Moore <mattmoor@chainguard.dev>
- Loading branch information
Showing
3 changed files
with
14 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters