Skip to content

Commit

Permalink
Fix incorrect config validation on SIGHUP
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Mar 25, 2020
1 parent 583104b commit f3c607c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/legacy/server/kbn_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { constant, once, compact, flatten } from 'lodash';
import { isWorker } from 'cluster';
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
import { fromRoot, pkg } from '../../core/server/utils';
import { Config } from './config';
import loggingConfiguration from './logging/configuration';
import httpMixin from './http';
import { coreMixin } from './core';
Expand Down Expand Up @@ -198,9 +197,7 @@ export default class KbnServer {
return await this.server.inject(opts);
}

applyLoggingConfiguration(settings) {
const config = new Config(this.config.getSchema(), settings);

applyLoggingConfiguration(config) {
const loggingOptions = loggingConfiguration(config);
const subset = {
ops: config.get('ops'),
Expand Down

0 comments on commit f3c607c

Please sign in to comment.