More debugMode fixes

This commit is contained in:
Girish Ramakrishnan
2017-01-20 09:40:11 -08:00
parent db6474ef2a
commit e35dbd522f
4 changed files with 14 additions and 21 deletions
+3
View File
@@ -302,6 +302,9 @@ function updateWithConstraints(id, app, constraints, callback) {
} else if (p === 'accessRestriction') {
fields.push('accessRestrictionJson = ?');
values.push(JSON.stringify(app[p]));
} else if (p === 'debugMode') {
fields.push('debugModeJson = ?');
values.push(JSON.stringify(app[p]));
} else if (p !== 'portBindings') {
fields.push(p + ' = ?');
values.push(app[p]);