mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Add assertions for types implementing interfaces (#5893)
This commit is contained in:
@@ -29,6 +29,8 @@ type RegistryClient struct {
|
||||
preferenceClient preference.Client
|
||||
}
|
||||
|
||||
var _ Client = (*RegistryClient)(nil)
|
||||
|
||||
func NewRegistryClient(fsys filesystem.Filesystem, preferenceClient preference.Client) RegistryClient {
|
||||
return RegistryClient{
|
||||
fsys: fsys,
|
||||
|
||||
Reference in New Issue
Block a user