Skip to content

Commit 2209b0c

Browse files
authored
[util] Stop using helpers from util, use utils instead (#484)
Apart from `headers`, the helpers from `util` are deprecated, let's use their equivalent from `utils` instead. With update to changelog and manifests.
1 parent ffe5498 commit 2209b0c

9 files changed

Lines changed: 36 additions & 10 deletions

File tree

disk/CHANGELOG.md

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

3-
1.0.003-22-2017
3+
1.0.1 / Unreleased
4+
==================
5+
6+
### Changes
7+
8+
* [SANITY] Import `Platform` helper from `utils.platform` instead of deprecated `util`. See [#484][]
9+
10+
1.0.0 / 03-22-2017
411
==================
512

613
### Changes
714

815
* [FEATURE] adds disk integration.
16+
17+
<!--- The following link definition list is generated by PimpMyChangelog --->
18+
[#484]: https://github.com/DataDog/integrations-core/issues/484

disk/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# datadog
1616
from checks import AgentCheck
1717
from config import _is_affirmative
18-
from util import Platform
18+
from utils.platform import Platform
1919
from utils.subprocess_output import get_subprocess_output
2020
from utils.timeout import (
2121
timeout,

disk/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"mac_os",
1212
"windows"
1313
],
14-
"version": "1.0.0",
14+
"version": "1.0.1",
1515
"guid": "94588b23-111e-4ed2-a2af-fd6e4caeea04"
1616
}

dns_check/CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
# CHANGELOG - dns_check
22

3-
1.0.1/2017-04-24
3+
4+
1.0.2 / Unreleased
5+
==================
6+
7+
### Changes
8+
9+
* [SANITY] Import `Platform` helper from `utils.platform` instead of deprecated `util`. See [#484][]
10+
11+
1.0.1 / 2017-04-24
412
==================
513

614
### Changes
715

816
* [BUGFIX] use time.clock under windows. See [#330][]
917

10-
1.0.003-22-2017
18+
1.0.0 / 03-22-2017
1119
==================
1220

1321
### Changes

dns_check/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import dns.resolver
1010

1111
# project
12-
from util import Platform
12+
from utils.platform import Platform
1313
from checks.network_checks import NetworkCheck, Status
1414

1515
# These imports are necessary because otherwise dynamic type

dns_check/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"mac_os",
1212
"windows"
1313
],
14-
"version": "1.0.0",
14+
"version": "1.0.2",
1515
"guid": "31e4c84c-fc4b-4cd4-97ed-0331bf4e2023"
1616
}

vsphere/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG - vsphere
22

3+
1.0.2 / Unreleased
4+
==================
5+
6+
### Changes
7+
8+
* [SANITY] Import `Timer` helper from `utils.timer` instead of deprecated `util`. See [#484][]
9+
310
1.0.1 Unreleased
411
==================
512

@@ -16,3 +23,4 @@
1623

1724
<!--- The following link definition list is generated by PimpMyChangelog --->
1825
[#346]: https://github.com/DataDog/integrations-core/issues/346
26+
[#484]: https://github.com/DataDog/integrations-core/issues/484

vsphere/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from checks.libs.thread_pool import Pool
2222
from checks.libs.vmware.basic_metrics import BASIC_METRICS
2323
from checks.libs.vmware.all_metrics import ALL_METRICS
24-
from util import Timer
24+
from utils.timer import Timer
2525

2626
SOURCE_TYPE = 'vsphere'
2727
REAL_TIME_INTERVAL = 20 # Default vCenter sampling interval

vsphere/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"maintainer": "help@datadoghq.com",
33
"manifest_version": "0.1.0",
44
"max_agent_version": "6.0.0",
5-
"min_agent_version": "5.6.3",
5+
"min_agent_version": "5.15.0",
66
"name": "vsphere",
77
"short_description": "Understand how vSphere resource usage affects your application.",
88
"support": "core",
@@ -11,6 +11,6 @@
1111
"mac_os",
1212
"windows"
1313
],
14-
"version": "1.0.1",
14+
"version": "1.0.2",
1515
"guid": "930b1839-cc1f-4e7a-b706-0e8cf3218464"
1616
}

0 commit comments

Comments
 (0)