You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cli/command: remove RegistryClient from CLI interface
This method was a shallow wrapper around registryclient.NewRegistryClient but
due to its signature resulted in various dependencies becoming a dependency
of the "command" package. Consequence of this was that cli-plugins, which
need the cli/command package, would also get those dependencies.
Thie patch:
- Removes the RegistryClient method from the interface
- Inlines the code where needed, skipping the wrapper
- Define a local interface for some tests where a dummy store was used.
Signed-off-by: Sebastiaan van Stijn <[email protected]>
0 commit comments