Skip to content

Commit

Permalink
fix detail appfingerprint
Browse files Browse the repository at this point in the history
  • Loading branch information
lausser committed Mar 16, 2017
1 parent 941c7a3 commit 3e6426a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* 2017-03-16 3.4.3.1
fix a bug in detail appfingerprint
* 2017-03-14 3.4.3
use application_name/type internally for details
* 2017-02-27 3.4.2
Expand Down
6 changes: 2 additions & 4 deletions coshsh/monitoringdetail.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,10 @@ def fingerprint(self):
return id(self)

def application_fingerprint(self):
try:
if self.application_name and self.application_type:
return "%s+%s+%s" % (self.host_name, self.application_name, self.application_type)
except: pass
try:
elif self.host_name:
return "%s" % (self.host_name, )
except: pass
raise "impossible fingerprint"

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run(self):


setup(name='coshsh',
version='3.4.3',
version='3.4.3.1',
description='Coshsh - config generator for monitoring systems',
url='http://github.com/lausser/coshsh',
author='Gerhard Lausser',
Expand Down

0 comments on commit 3e6426a

Please sign in to comment.