Skip to content

Commit f1a1916

Browse files
author
Sam Clements
committed
Fix --event-host argument
Previous behaviour sent the riemann host, not the event host
1 parent 093245f commit f1a1916

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

riemann_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""A Python Riemann client and command line tool"""
22

3-
__version__ = '3.0.1'
3+
__version__ = '3.0.2'
44
__author__ = 'Sam Clements <[email protected]>'

riemann_client/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def send_function(args, client):
5252
event = client.event(
5353
time=args.time,
5454
state=args.state,
55-
host=args.host,
55+
host=args.event_host,
5656
description=args.description,
5757
service=args.service,
5858
tags=args.tags,

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
#!/usr/bin/env python2.6
22

33
import setuptools
4-
import sys
54

65
setuptools.setup(
76
name = "riemann-client",
8-
version = '3.0.1',
7+
version = '3.0.2',
98

109
author = "Sam Clements",
1110
author_email = "[email protected]",

0 commit comments

Comments
 (0)