1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove extraneous space from end of command string in nagios_cmd

This commit is contained in:
Bruce Pennypacker 2015-12-11 16:06:33 +00:00 committed by Matt Clay
parent ab7aa73cdb
commit e5970186ad

View file

@ -872,7 +872,7 @@ class Nagios(object):
pre = '[%s]' % int(time.time()) pre = '[%s]' % int(time.time())
post = '\n' post = '\n'
cmdstr = '%s %s %s' % (pre, cmd, post) cmdstr = '%s %s%s' % (pre, cmd, post)
self._write_command(cmdstr) self._write_command(cmdstr)
def act(self): def act(self):