mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Remove unneeded preserve_namespace
query param. (#160832)
Fixes #159585 Removes `preserve_namespace` schema from inspect monitor route.
This commit is contained in:
parent
e1d5eea10d
commit
83892885c4
2 changed files with 0 additions and 5 deletions
|
@ -26,7 +26,6 @@ export const inspectSyntheticsMonitorRoute: SyntheticsRestApiRouteFactory = () =
|
|||
body: schema.any(),
|
||||
query: schema.object({
|
||||
id: schema.maybe(schema.string()),
|
||||
preserve_namespace: schema.maybe(schema.boolean()),
|
||||
hideParams: schema.maybe(schema.boolean()),
|
||||
}),
|
||||
},
|
||||
|
@ -73,8 +72,6 @@ export const inspectSyntheticsMonitorRoute: SyntheticsRestApiRouteFactory = () =
|
|||
|
||||
const result = await syntheticsMonitorClient.inspectMonitor(
|
||||
{ monitor: monitorWithNamespace as MonitorFields, id: newMonitorId },
|
||||
request,
|
||||
savedObjectsClient,
|
||||
privateLocations,
|
||||
spaceId,
|
||||
hideParams,
|
||||
|
|
|
@ -358,8 +358,6 @@ export class SyntheticsMonitorClient {
|
|||
|
||||
async inspectMonitor(
|
||||
monitorObj: { monitor: MonitorFields; id: string },
|
||||
request: KibanaRequest,
|
||||
savedObjectsClient: SavedObjectsClientContract,
|
||||
allPrivateLocations: PrivateLocation[],
|
||||
spaceId: string,
|
||||
hideParams: boolean,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue