Skip to content

Commit fa12efe

Browse files
committed
chore: Deprecate: DiscoveryDescription.restrictTo. Not needed anymore.
1 parent 3e64003 commit fa12efe

File tree

3 files changed

+54
-47
lines changed

3 files changed

+54
-47
lines changed

go/discovery_kit_api/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Changelog
22

3+
## 1.5.1
4+
- Deprecate: DiscoveryDescription.restrictTo. Not needed anymore.
5+
36
## 1.5.0
47
- Target Ids must be unique across target type
5-
- Aligned Http Method constants
8+
- Aligned Http Method constants
69

710
## 1.4.2
811
- Embed the openapi spec into the api package

go/discovery_kit_api/discovery_kit_api.go

Lines changed: 46 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/spec.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ components:
5353
$ref: '#/components/schemas/DescribingEndpointReferenceWithCallInterval'
5454
restrictTo:
5555
type: string
56-
description: "If the agent is deployed as a daemonset in Kubernetes, should the discovery only be called from the leader agent? This can be helpful to avoid duplicate targets for every running agent."
56+
deprecated: true
57+
description: >-
58+
Deprecated: has not effect anymore.
59+
If the agent is deployed as a daemonset in Kubernetes, should the discovery only be called from the leader agent? This can be helpful to avoid duplicate targets for every running agent.
5760
enum:
5861
- ANY
5962
- LEADER

0 commit comments

Comments
 (0)