provide auditSource when autoupdating app

This commit is contained in:
Girish Ramakrishnan
2016-05-03 23:36:27 -07:00
parent 126d64ffa8
commit 5683cefe89

View File

@@ -822,7 +822,8 @@ function autoupdateApps(updateInfo, callback) { // updateInfo is { appId -> { ma
return iteratorDone();
}
update(appId, false /* force */, updateInfo[appId].manifest, app.portBindings, null /* icon */, function (error) {
update(appId, false /* force */, updateInfo[appId].manifest, app.portBindings,
null /* icon */, { userId: null, username: 'autoupdater' }, function (error) {
if (error) debug('Error initiating autoupdate of %s. %s', appId, error.message);
iteratorDone(null);