]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: do not log commands sent to "call" function
authorAdam King <adking@redhat.com>
Thu, 14 Oct 2021 18:56:51 +0000 (14:56 -0400)
committerAdam King <adking@redhat.com>
Thu, 14 Oct 2021 18:56:51 +0000 (14:56 -0400)
They could potentially log sensitive info such as registry
login passwords

Signed-off-by: Adam King <adking@redhat.com>
src/cephadm/cephadm

index ed392bd187d75cb9eacabdafc5aaa72270631e48..28e5b9d58db1e3904fee449d812cf51a4ed93638 100755 (executable)
@@ -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: