Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Aug 23, 2024
1 parent 3ef71e6 commit 852ae54
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ import { dataTypes } from '../../../common/constants';

import { getDataStreamPrivileges } from './package_policies_to_agent_permissions';

function buildDefault(enabled: { logs: boolean; metrics: boolean; traces: boolean }, namespace: string) {
function buildDefault(
enabled: { logs: boolean; metrics: boolean; traces: boolean },
namespace: string
) {
let names: string[] = [];
if (enabled.logs) {
names = names.concat(
Expand Down Expand Up @@ -58,7 +61,7 @@ function buildDefault(enabled: { logs: boolean; metrics: boolean; traces: boolea

export async function getMonitoringPermissions(
soClient: SavedObjectsClientContract,
enabled: { logs: boolean; metrics: boolean, traces: boolean },
enabled: { logs: boolean; metrics: boolean; traces: boolean },
namespace: string
): Promise<FullAgentPolicyOutputPermissions> {
const installation = await getInstallation({
Expand Down

0 comments on commit 852ae54

Please sign in to comment.