Add a TODO note to remove the imageRepository check once preload is accessible
parent
06fadf8213
commit
c75e3936bf
|
@ -43,6 +43,7 @@ const (
|
|||
|
||||
// BeginCacheKubernetesImages caches images required for kubernetes version in the background
|
||||
func beginCacheKubernetesImages(g *errgroup.Group, imageRepository string, k8sVersion string, cRuntime string) {
|
||||
// TODO: remove imageRepository check once #7695 is fixed
|
||||
if imageRepository == "" && download.PreloadExists(k8sVersion, cRuntime) {
|
||||
glog.Info("Caching tarball of preloaded images")
|
||||
err := download.Preload(k8sVersion, cRuntime)
|
||||
|
|
Loading…
Reference in New Issue