Skip to content

Commit

Permalink
remove es cmsrep log message
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Sep 2, 2016
1 parent e334167 commit 8c74e1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion es_cmsrep_apache.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def process (line, count):
from urllib import unquote
xpayload = {'dev' : dev, 'repository' : unquote(repo), 'architecture' : unquote(arch), 'package' : unquote(pkg).split("-1-",1)[0], 'cmspkg' : unquote(cmspkg)}
for x in ["@timestamp","ip"]: xpayload[x] = payload[x]
print xpayload
return send_payload("cmspkg-access","rpm-packages", id, dumps(xpayload), passwd_file="/data/es/es_secret")

count=run_cmd("pgrep -l -x -f '^python .*/es_cmsrep_apache.py$' | wc -l",False)
Expand Down

0 comments on commit 8c74e1d

Please sign in to comment.