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:
parent
ab7aa73cdb
commit
e5970186ad
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue