]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: remove duplicates when listing files in scan 53296/head
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 5 Sep 2023 18:18:45 +0000 (14:18 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 11 Sep 2023 12:57:46 +0000 (08:57 -0400)
commit15a3d93bc87fa9145de8349e1f28693b27056ef7
treeaa36bf1c6fa75c15dfd5c476599ccc2bfe0f0226
parent63871e38f28e855a1fc4e2e0b82e7d2a4d8a1692
cephadm: remove duplicates when listing files in scan

Fix running tox env flake8 during a rebase/merge where git ls-files
may return duplicate file names.

An earlier version of this change used the `--deuplicate` option to `git
ls-files` in order to remove duplicate files listed when running the
tool during rebase/merge. Mysteriously, this seemed to break the `ceph
API tests` in the CI. A completely unrelated command in a tox file that,
AFAIK, is not executed in that test suite. They ways of git are
subtle and often sucky.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/tox.ini