1
0
Fork 0

Fixed configuration of Foxx apps. It was not fully working in foxx manager

This commit is contained in:
Michael Hackstein 2015-03-12 17:47:56 +01:00
parent 2f5818f5c3
commit c3b350054b
2 changed files with 3 additions and 2 deletions

View File

@ -603,7 +603,8 @@
res.mount);
break;
case "configure":
res = configure(args[1]);
options = extractOptions(args);
res = configure(args[1], options);
printf("Reconfigured Application %s version %s on mount point %s\n",
res.name,
res.version,

View File

@ -1277,7 +1277,7 @@
[ mount ] );
utils.validateMount(mount, true);
var app = lookupApp(mount);
var invalid = app.configure(options);
var invalid = app.configure(options.configuration || {});
if (invalid.length > 0) {
// TODO Error handling
console.log(invalid);