balena deploy: Fix "TypeError: images.push is not iterable"

Change-type: patch
This commit is contained in:
Paulo Castro 2020-04-29 12:13:19 +01:00
parent 5c39952002
commit 74cdd80b51

View File

@ -530,10 +530,13 @@ const getPreviousRepos = (sdk, docker, logger, appID) =>
return registry.imageName;
});
});
} else {
return [];
}
})
.catch(e => {
logger.logDebug(`Failed to access previously pushed image repo: ${e}`);
return [];
});
const authorizePush = function(