Skip to content

Commit

Permalink
Merge pull request #57 from Dynatrace-James-Kitson/main
Browse files Browse the repository at this point in the history
Fix host tag bug in v1 oneagent service
  • Loading branch information
Dynatrace-James-Kitson authored Feb 28, 2022
2 parents f056d58 + a28ba1e commit 0022c21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dynatrace/environment_v1/oneagents.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _create_from_raw_data(self, raw_element):
self.consumed_host_units: str = raw_element.get("consumedHostUnits")
self.os_version: str = raw_element.get("osVersion")
self.host_group: HostGroup = HostGroup(raw_element=raw_element.get("hostGroup"))
self.tags: List[TagInfo] = [TagInfo(t) for t in raw_element.get("tags", [])]
self.tags: List[TagInfo] = [TagInfo(raw_element=t) for t in raw_element.get("tags", [])]
self.os_type: Optional[OsType] = OsType(raw_element.get("osType")) if raw_element.get("osType") else None


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="dt",
version="1.1.46",
version="1.1.47",
packages=find_packages(),
install_requires=["requests>=2.22"],
tests_require=["pytest", "mock", "tox"],
Expand Down

0 comments on commit 0022c21

Please sign in to comment.