mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
dockertools: add image ref to ImageService interfaces
This commit is contained in:
parent
fcbf39ea54
commit
fafccad384
@ -478,6 +478,7 @@ func (f *FakeDockerClient) PullImage(image string, auth dockertypes.AuthConfig,
|
||||
err := f.popError("pull")
|
||||
if err == nil {
|
||||
authJson, _ := json.Marshal(auth)
|
||||
f.Image = &dockertypes.ImageInspect{ID: image}
|
||||
f.pulled = append(f.pulled, fmt.Sprintf("%s using %s", image, string(authJson)))
|
||||
}
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user