]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fully replace agent files when writing them 44517/head
authorAdam King <adking@redhat.com>
Wed, 19 Jan 2022 02:44:54 +0000 (21:44 -0500)
committerAdam King <adking@redhat.com>
Mon, 24 Jan 2022 23:59:15 +0000 (18:59 -0500)
commit7f4e6016050324a1536f742b6a23c6568f74478b
tree19f4fc73d4465419be194822e0f8daf75862dbd0
parent960a6f565e68f4ed217cca13160901b30b2e890f
cephadm: fully replace agent files when writing them

otherwise, if the new file is shorter than the old one
we will end up with a malformed file retaining the end bit
of the old version

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