Update redis addon container

Fixes #223
This commit is contained in:
Girish Ramakrishnan
2018-10-16 15:40:40 -07:00
parent 045cfeeb0d
commit 858f03e02d
2 changed files with 9 additions and 2 deletions

View File

@@ -96,7 +96,6 @@ function removeOldImages(callback) {
debug('removing old addon images');
for (var imageName in infra.images) {
if (imageName === 'redis') continue; // see #223
const image = infra.images[imageName];
const tag = image.tag.replace(/:.*@/, '@'); // this remove the semver tag
debug('cleaning up images of %j', image);
@@ -118,7 +117,6 @@ function stopContainers(existingInfra, callback) {
assert(typeof infra.images, 'object');
var changedAddons = [ ];
for (var imageName in infra.images) {
if (imageName === 'redis') continue; // see #223
if (infra.images[imageName].tag !== existingInfra.images[imageName].tag) changedAddons.push(imageName);
}