Skip to content

Commit

Permalink
Rename release deprecation field to agent version (#11040)
Browse files Browse the repository at this point in the history
  • Loading branch information
coignetp authored Jan 6, 2022
1 parent 8d0e6cd commit 4360e46
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions datadog_checks_base/tests/models/data/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ files:
- name: deprecated
description: words
deprecation:
Release: 8.0.0
Agent_Version: 8.0.0
Migration: |
do this
and that
Expand Down Expand Up @@ -62,7 +62,7 @@ files:
- name: deprecated
description: words
deprecation:
Release: 9.0.0
Agent version: 9.0.0
Migration: |
do this
and that
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test():
- name: deprecated
description: words
deprecation:
Release: 8.0.0
Agent version: 8.0.0
Migration: do this and that
value:
type: string
Expand All @@ -38,7 +38,7 @@ def test():
- name: deprecated
description: words
deprecation:
Release: 9.0.0
Agent version: 9.0.0
Migration: do this and that
value:
type: string
Expand All @@ -62,10 +62,10 @@ def test():
== """
def shared():
return {'deprecated': {'Release': '8.0.0', 'Migration': 'do this and that'}}
return {'deprecated': {'Agent version': '8.0.0', 'Migration': 'do this and that'}}
def instance():
return {'deprecated': {'Release': '9.0.0', 'Migration': 'do this and that'}}
return {'deprecated': {'Agent version': '9.0.0', 'Migration': 'do this and that'}}
"""
)
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ def test_deprecation():
- name: foo
description: foo words
deprecation:
Release: 8.0.0
Agent version: 8.0.0
Migration: |
do this
and that
Expand All @@ -978,7 +978,7 @@ def test_deprecation():
##
## <<< DEPRECATED >>>
##
## Release: 8.0.0
## Agent version: 8.0.0
## Migration: do this
## and that
#
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/meta/config-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Every option has 10 possible attributes:

```yaml
deprecation:
Release: 8.0.0
Agent version: 8.0.0
Migration: |
do this
and that
Expand Down
2 changes: 1 addition & 1 deletion mongo/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ files:
- test:mongodb
- name: server
deprecation:
Release: "8.0.0"
Agent version: "8.0.0"
Migration: |
Use the following options instead:
hosts, username, password, database, options
Expand Down
2 changes: 1 addition & 1 deletion mongo/datadog_checks/mongo/config_models/deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
def instance():
return {
'server': {
'Release': '8.0.0',
'Agent version': '8.0.0',
'Migration': 'Use the following options instead:\nhosts, username, password, database, options\n',
}
}
2 changes: 1 addition & 1 deletion mongo/datadog_checks/mongo/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ instances:
##
## <<< DEPRECATED >>>
##
## Release: 8.0.0
## Agent version: 8.0.0
## Migration: Use the following options instead:
## hosts, username, password, database, options
#
Expand Down

0 comments on commit 4360e46

Please sign in to comment.