Skip to content

Commit 24e21da

Browse files
author
Moritz Clasmeier
committed
internal/deployer/deployer.go imagecache
1 parent 883a797 commit 24e21da

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

internal/deployer/deployer.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,10 @@ func New(log *logger.Logger) (*Deployer, error) {
239239
}
240240

241241
d.dockerAuth = dockerauth.New(log)
242-
d.imageCache = imagecache.New(log, "", 20)
242+
d.imageCache, err = imagecache.New(log, "", 20)
243+
if err != nil {
244+
return nil, err
245+
}
243246
d.portForward = portforward.New(k8s.GetKubectl(), log)
244247

245248
if password := os.Getenv("ROX_ADMIN_PASSWORD"); password != "" {

0 commit comments

Comments
 (0)