Skip to content

Commit

Permalink
17414 FIX service_discovery: fix faulty example for bulk discovery
Browse files Browse the repository at this point in the history
Change-Id: I475286f46e58f780900d63720547aab81a8c0239
  • Loading branch information
anthonyh209 committed Jan 30, 2025
1 parent cebc186 commit 1e6c6ef
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .werks/17414.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[//]: # (werk v2)
# service_discovery: fix faulty example for bulk discovery

key | value
---------- | ---
date | 2025-01-29T08:35:15+00:00
version | 2.4.0b1
class | fix
edition | cre
component | rest-api
level | 1
compatible | yes


7 changes: 6 additions & 1 deletion cmk/gui/openapi/endpoints/service_discovery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,12 @@ class BulkDiscovery(BaseSchema):
BulkDiscoveryOptions,
description="The discovery options for the bulk discovery",
required=True,
example={"monitor_undecided": True, "remove_vanished": True, "update_service_labels": True},
example={
"monitor_undecided_services": True,
"remove_vanished_services": True,
"update_service_labels": True,
"update_host_labels": True,
},
)
do_full_scan = fields.Boolean(
required=False,
Expand Down

0 comments on commit 1e6c6ef

Please sign in to comment.