Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
| ... | ... |
@@ -55,7 +55,7 @@ type Backend interface {
|
| 55 | 55 |
UnsubscribeFromEvents(listener chan interface{})
|
| 56 | 56 |
UpdateAttachment(string, string, string, *network.NetworkingConfig) error |
| 57 | 57 |
WaitForDetachment(context.Context, string, string, string, string) error |
| 58 |
- GetRepository(context.Context, reference.NamedTagged, *types.AuthConfig) (distribution.Repository, bool, error) |
|
| 58 |
+ GetRepository(context.Context, reference.Named, *types.AuthConfig) (distribution.Repository, bool, error) |
|
| 59 | 59 |
LookupImage(name string) (*types.ImageInspect, error) |
| 60 | 60 |
PluginManager() *plugin.Manager |
| 61 | 61 |
PluginGetter() *plugin.Store |
| ... | ... |
@@ -111,7 +111,7 @@ func (daemon *Daemon) pullImageWithReference(ctx context.Context, ref reference. |
| 111 | 111 |
} |
| 112 | 112 |
|
| 113 | 113 |
// GetRepository returns a repository from the registry. |
| 114 |
-func (daemon *Daemon) GetRepository(ctx context.Context, ref reference.NamedTagged, authConfig *types.AuthConfig) (dist.Repository, bool, error) {
|
|
| 114 |
+func (daemon *Daemon) GetRepository(ctx context.Context, ref reference.Named, authConfig *types.AuthConfig) (dist.Repository, bool, error) {
|
|
| 115 | 115 |
// get repository info |
| 116 | 116 |
repoInfo, err := daemon.RegistryService.ResolveRepository(ref) |
| 117 | 117 |
if err != nil {
|