mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
cephadm: do not log commands sent to "call" function
They could potentially log sensitive info such as registry login passwords Signed-off-by: Adam King <adking@redhat.com>
This commit is contained in:
parent
c19250ce3c
commit
3205a835f6
@ -1413,8 +1413,6 @@ def call(ctx: CephadmContext,
|
||||
prefix += ': '
|
||||
timeout = timeout or ctx.timeout
|
||||
|
||||
logger.debug('Running command: %s' % ' '.join(command))
|
||||
|
||||
async def tee(reader: asyncio.StreamReader) -> str:
|
||||
collected = StringIO()
|
||||
async for line in reader:
|
||||
|
Loading…
Reference in New Issue
Block a user