diff --git a/src/eventlog.js b/src/eventlog.js index c0cfd4301..7980f5401 100644 --- a/src/eventlog.js +++ b/src/eventlog.js @@ -8,7 +8,7 @@ exports = module.exports = { getAllPaged: getAllPaged, cleanup: cleanup, - // keep in sync with webadmin index.js filter + // keep in sync with webadmin index.js filter and CLI tool ACTION_ACTIVATE: 'cloudron.activate', ACTION_APP_CLONE: 'app.clone', ACTION_APP_CONFIGURE: 'app.configure', diff --git a/webadmin/src/js/index.js b/webadmin/src/js/index.js index 4a547fd7d..34b531d4f 100644 --- a/webadmin/src/js/index.js +++ b/webadmin/src/js/index.js @@ -261,7 +261,7 @@ app.filter('postInstallMessage', function () { }); -// keep this in sync with eventlog.js +// keep this in sync with eventlog.js and CLI tool var ACTION_ACTIVATE = 'cloudron.activate'; var ACTION_APP_CONFIGURE = 'app.configure'; var ACTION_APP_INSTALL = 'app.install'; @@ -282,6 +282,7 @@ var ACTION_USER_REMOVE = 'user.remove'; var ACTION_USER_UPDATE = 'user.update'; app.filter('eventLogDetails', function() { + // NOTE: if you change this, the CLI tool (cloudron machine eventlog) probably needs fixing as well return function(eventLog) { var source = eventLog.source; var data = eventLog.data;