v3.0.5: update all given config values
This commit is contained in:
parent
40fec526e1
commit
4b47fb4eb6
|
@ -95,10 +95,15 @@ Manage.create = function(CONF) {
|
||||||
if (newAlts.join() !== oldAlts.join()) {
|
if (newAlts.join() !== oldAlts.join()) {
|
||||||
// this will cause immediate renewal
|
// this will cause immediate renewal
|
||||||
args.renewAt = 1;
|
args.renewAt = 1;
|
||||||
current.renewAt = 1;
|
|
||||||
current.altnames = args.altnames.slice(0);
|
current.altnames = args.altnames.slice(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Object.keys(args).forEach(function(k) {
|
||||||
|
if ('altnames' === k) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
current[k] = args[k];
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// no transaction promise here because it calls set
|
// no transaction promise here because it calls set
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "greenlock-manager-fs",
|
"name": "greenlock-manager-fs",
|
||||||
"version": "3.0.4",
|
"version": "3.0.5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "greenlock-manager-fs",
|
"name": "greenlock-manager-fs",
|
||||||
"version": "3.0.4",
|
"version": "3.0.5",
|
||||||
"description": "A simple file-based management strategy for Greenlock",
|
"description": "A simple file-based management strategy for Greenlock",
|
||||||
"main": "manager.js",
|
"main": "manager.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue