Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
Signed-off-by: Anan Zhuang <[email protected]>
  • Loading branch information
ananzh committed Jun 4, 2021
1 parent bded622 commit def813d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/opensearch_dashboards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
# //Loopback
# '127.0.0.0/8',
# '::1/128',
# // Link-local Address for IPv6
# //Link-local Address for IPv6
# 'fe80::/10',
# //Private IP address for IPv4
# '10.0.0.0/8',
Expand Down
3 changes: 0 additions & 3 deletions src/plugins/vis_type_timeline/server/lib/config_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ export class ConfigManager {
constructor(config: PluginInitializerContext['config']) {
config.create<TypeOf<typeof configSchema>>().subscribe((configUpdate) => {
this.graphiteAllowedUrls = configUpdate.graphiteAllowedUrls || [];
});

config.create<TypeOf<typeof configSchema>>().subscribe((configUpdate) => {
this.graphiteBlockedIPs = configUpdate.graphiteBlockedIPs || [];
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import moment from 'moment';
import Datasource from '../lib/classes/datasource';
import { isValidConfig } from './graphite_helper';

const MISS_CHECKLIST_MESSAGE = `Please configure on the opensearch_dashbpards.yml file.
const MISS_CHECKLIST_MESSAGE = `Please configure on the opensearch_dashboards.yml file.
You can always enable the default allowlist configuration.`;

const INVALID_URL_MESSAGE = `The Graphite URL provided by you is invalid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const expect = require('chai').expect;

import fn from './graphite';

const MISS_CHECKLIST_MESSAGE = `Please configure on the opensearch_dashbpards.yml file.
const MISS_CHECKLIST_MESSAGE = `Please configure on the opensearch_dashboards.yml file.
You can always enable the default allowlist configuration.`;

const INVALID_URL_MESSAGE = `The Graphite URL provided by you is invalid.
Expand Down

0 comments on commit def813d

Please sign in to comment.