Skip to content

Commit

Permalink
Merge pull request #579 from zenoss/feature/ZPS-8945
Browse files Browse the repository at this point in the history
Feature: ZPS-8945
  • Loading branch information
odubrovyk authored Jun 17, 2024
2 parents e8b7e98 + 5b6138a commit 77f2146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZenPacks/zenoss/ZenPackLib/lib/base/DeviceBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def getRRDTemplates(self):
template_name.endswith('-addition'):
# adding here doesn't hurt since we check below, and allows RM
# code to already supply these for us
templates.append(template)
if template not in templates:
templates.append(template)
continue

replacement = self.getRRDTemplateByName(
Expand All @@ -100,7 +101,6 @@ def getRRDTemplates(self):
if addition:
if addition not in templates:
templates.append(addition)
additionName = addition.titleOrId()

return templates

Expand Down

0 comments on commit 77f2146

Please sign in to comment.