Skip to content

Commit 980a0a4

Browse files
authored
Merge pull request ceph#53296 from phlogistonjohn/jjm-fix-git-ls-files
cephadm: remove duplicates when listing files in scan Reviewed-by: Adam King <[email protected]>
2 parents 1df1173 + 15a3d93 commit 980a0a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cephadm/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ deps =
6262
flake8-quotes
6363
commands =
6464
flake8 --config=tox.ini {posargs:cephadm.py cephadmlib}
65-
bash -c 'test $(git ls-files 'cephadm.py' 'cephadmlib/*.py' | xargs grep "docker.io" | wc -l) == 11'
65+
bash -c 'test $(git ls-files 'cephadm.py' 'cephadmlib/*.py' | sort -u | xargs grep "docker.io" | wc -l) == 11'
6666
# Downstream distributions may choose to alter this "docker.io" number,
6767
# to make sure no new references to docker.io are creeping in unnoticed.
6868

0 commit comments

Comments
 (0)