Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed May 17, 2024
1 parent 918faa5 commit 27779f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion server/backend/opensearch_security_plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default function (Client: any, config: any, components: any) {
* "opensearch_dashboards_server_user": "kibanaserver"
* }
*/
Client.prototype.opensearch_security.prototype.xx = ca({
Client.prototype.opensearch_security.prototype.multitenancyinfo = ca({
url: {
fmt: '/_plugins/_security/dashboardsinfo',
},
Expand Down
3 changes: 0 additions & 3 deletions server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ export class SecurityPlugin implements Plugin<SecurityPluginSetup, SecurityPlugi
const router = core.http.createRouter();

const plugins = [opensearchSecurityPlugin];
console.log(
'config.configuration.admin_pages_enabled: ' + config.configuration.admin_pages_enabled
);
if (config.configuration.admin_pages_enabled) {
plugins.push(opensearchSecurityConfigurationPlugin);
}
Expand Down

0 comments on commit 27779f9

Please sign in to comment.