Pass collation tag to backup functions

Fixes #159
This commit is contained in:
Girish Ramakrishnan
2017-01-04 19:41:33 -08:00
parent 1539fe0906
commit e83ee48ed5
2 changed files with 22 additions and 17 deletions

View File

@@ -410,7 +410,7 @@ function backup(app, callback) {
async.series([
updateApp.bind(null, app, { installationProgress: '10, Backing up' }),
backups.backupApp.bind(null, app, app.manifest),
backups.backupApp.bind(null, app, app.manifest, null /* tag */),
// done!
function (callback) {
@@ -600,7 +600,7 @@ function update(app, callback) {
async.series([
updateApp.bind(null, app, { installationProgress: '30, Backing up app' }),
backups.backupApp.bind(null, app, app.oldConfig.manifest)
backups.backupApp.bind(null, app, app.oldConfig.manifest, null /* tag */)
], next);
},