rename installationProgress to errorMessage

This commit is contained in:
Girish Ramakrishnan
2019-08-27 20:08:35 -07:00
parent 7da80b4c62
commit 20de563925
11 changed files with 39 additions and 24 deletions
+2 -2
View File
@@ -378,7 +378,7 @@ function getDataDir(app, dataDir) {
function removeInternalFields(app) {
return _.pick(app,
'id', 'appStoreId', 'installationState', 'installationProgress', 'runState', 'health', 'taskId',
'id', 'appStoreId', 'installationState', 'errorMessage', 'runState', 'health', 'taskId',
'location', 'domain', 'fqdn', 'mailboxName',
'accessRestriction', 'manifest', 'portBindings', 'iconUrl', 'memoryLimit',
'sso', 'debugMode', 'robotsTxt', 'enableBackup', 'creationTime', 'updateTime', 'ts', 'tags',
@@ -388,7 +388,7 @@ function removeInternalFields(app) {
// non-admins can only see these
function removeRestrictedFields(app) {
return _.pick(app,
'id', 'appStoreId', 'installationState', 'installationProgress', 'runState', 'health', 'taskId',
'id', 'appStoreId', 'installationState', 'errorMessage', 'runState', 'health', 'taskId',
'location', 'domain', 'fqdn', 'manifest', 'portBindings', 'iconUrl', 'creationTime', 'ts', 'tags', 'label');
}