]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
teuthology/misc: avoid copying references of b when list or dict
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 28 Jun 2022 20:27:14 +0000 (16:27 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 18 Jul 2022 14:10:30 +0000 (10:10 -0400)
commitc546d8dfa822b939ba3da3e529da69e805e28c51
tree090c6a721f1117dfc2055b10b91258f2af9ac808
parent89d874d555f56b1c1f383df72487aecec0ee6cf9
teuthology/misc: avoid copying references of b when list or dict

Otherwise, if b persists in memory (in a cache), it may wrongly
accumulate future merges.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
teuthology/misc.py