mirror of
https://github.com/ceph/ceph
synced 2025-03-31 07:53:23 +00:00
Don't pass a custom logger anymore
We already use the hostname in command execution calls Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
This commit is contained in:
parent
22b51be46c
commit
0465bdbb13
@ -1,5 +1,5 @@
|
||||
"""
|
||||
Clock synchronizer
|
||||
Clock synchronizer
|
||||
"""
|
||||
import logging
|
||||
import contextlib
|
||||
@ -53,7 +53,6 @@ def task(ctx, config):
|
||||
'PATH=/usr/bin:/usr/sbin',
|
||||
'ntpdc', '-p',
|
||||
],
|
||||
logger=log.getChild(rem.name),
|
||||
)
|
||||
|
||||
try:
|
||||
@ -67,7 +66,6 @@ def task(ctx, config):
|
||||
'PATH=/usr/bin:/usr/sbin',
|
||||
'ntpdc', '-p',
|
||||
],
|
||||
logger=log.getChild(rem.name),
|
||||
)
|
||||
|
||||
|
||||
@ -75,7 +73,7 @@ def task(ctx, config):
|
||||
def check(ctx, config):
|
||||
"""
|
||||
Run ntpdc at the start and the end of the task.
|
||||
|
||||
|
||||
:param ctx: Context
|
||||
:param config: Configuration
|
||||
"""
|
||||
@ -86,7 +84,6 @@ def check(ctx, config):
|
||||
'PATH=/usr/bin:/usr/sbin',
|
||||
'ntpdc', '-p',
|
||||
],
|
||||
logger=log.getChild(rem.name),
|
||||
)
|
||||
|
||||
try:
|
||||
@ -100,5 +97,4 @@ def check(ctx, config):
|
||||
'PATH=/usr/bin:/usr/sbin',
|
||||
'ntpdc', '-p',
|
||||
],
|
||||
logger=log.getChild(rem.name),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user