screwdriver-api 6.0.1 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/server +3 -3
- package/package.json +1 -1
package/bin/server
CHANGED
|
@@ -27,7 +27,7 @@ function convertToBool(value) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
// Setup Authentication
|
|
30
|
-
const authConfig = config.get('auth');
|
|
30
|
+
const authConfig = hoek.clone(config.get('auth'));
|
|
31
31
|
|
|
32
32
|
// Setup HTTPd
|
|
33
33
|
const httpdConfig = config.get('httpd');
|
|
@@ -38,7 +38,7 @@ const shutdownConfig = config.get('shutdown');
|
|
|
38
38
|
const webhooksConfig = config.get('webhooks');
|
|
39
39
|
|
|
40
40
|
// Special urls for things like the UI
|
|
41
|
-
const ecosystem = config.get('ecosystem');
|
|
41
|
+
const ecosystem = hoek.clone(config.get('ecosystem'));
|
|
42
42
|
|
|
43
43
|
ecosystem.api = httpdConfig.uri;
|
|
44
44
|
|
|
@@ -134,7 +134,7 @@ const pipelineFactory = Models.PipelineFactory.getInstance({
|
|
|
134
134
|
});
|
|
135
135
|
|
|
136
136
|
// Setup Executor
|
|
137
|
-
const executorConfig = config.get('executor');
|
|
137
|
+
const executorConfig = hoek.clone(config.get('executor'));
|
|
138
138
|
|
|
139
139
|
executorConfig[executorConfig.plugin].options.pipelineFactory = pipelineFactory;
|
|
140
140
|
const ExecutorPlugin = require(`screwdriver-executor-${executorConfig.plugin}`);
|