add todo comment
parent
d2415d778e
commit
bc36eb2de9
|
@ -398,7 +398,8 @@ func ContainerdImagesPreloaded(runner command.Runner, images []string) bool {
|
||||||
found := false
|
found := false
|
||||||
for _, ji := range jsonImages.Images {
|
for _, ji := range jsonImages.Images {
|
||||||
for _, rt := range ji.RepoTags {
|
for _, rt := range ji.RepoTags {
|
||||||
// for exmaple kubernetesui/dashboard:v2.0.0-rc6 will show up as docker.io/kubernetesui/dashboard:v2.0.0-rc6
|
// in crictl docker.io is appened to images without repo organization
|
||||||
|
// for example "kubernetesui/dashboard:v2.0.0-rc6 will show up as "docker.io/kubernetesui/dashboard:v2.0.0-rc6"
|
||||||
if !strings.Contains(i, ".io/") {
|
if !strings.Contains(i, ".io/") {
|
||||||
i = "docker.io/" + i
|
i = "docker.io/" + i
|
||||||
}
|
}
|
||||||
|
|
|
@ -154,6 +154,7 @@ func TestDownloadOnlyKic(t *testing.T) {
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), Minutes(15))
|
ctx, cancel := context.WithTimeout(context.Background(), Minutes(15))
|
||||||
defer Cleanup(t, profile, cancel)
|
defer Cleanup(t, profile, cancel)
|
||||||
|
|
||||||
|
// TODO: #7795 add containerd to download only too
|
||||||
cRuntime := "docker"
|
cRuntime := "docker"
|
||||||
|
|
||||||
args := []string{"start", "--download-only", "-p", profile, "--force", "--alsologtostderr"}
|
args := []string{"start", "--download-only", "-p", profile, "--force", "--alsologtostderr"}
|
||||||
|
|
Loading…
Reference in New Issue