coren has submitted this change and it was merged.

Change subject: More fix to conntrack collector
......................................................................


More fix to conntrack collector

Because I can't even python.

Bug: T90437
Change-Id: Id61ad21dd8b36821d8270d61b67c240590bcc9c8
---
M modules/diamond/files/collector/conntrack.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  coren: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/diamond/files/collector/conntrack.py 
b/modules/diamond/files/collector/conntrack.py
index 92b2db3..a5ebabb 100644
--- a/modules/diamond/files/collector/conntrack.py
+++ b/modules/diamond/files/collector/conntrack.py
@@ -30,7 +30,7 @@
 
     def _get_sysctl(self, name):
 
-        path = '/proc/sys/' + name.translate(str.maketrans('.', '/'))
+        path = '/proc/sys/' + name.translate(string.maketrans('.', '/'))
 
         try:
             with open(path) as f:

-- 
To view, visit https://gerrit.wikimedia.org/r/201190
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id61ad21dd8b36821d8270d61b67c240590bcc9c8
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: coren <mpellet...@wikimedia.org>
Gerrit-Reviewer: coren <mpellet...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to