Skip to content

Commit

Permalink
Merge pull request ceph#53296 from phlogistonjohn/jjm-fix-git-ls-files
Browse files Browse the repository at this point in the history
cephadm: remove duplicates when listing files in scan

Reviewed-by: Adam King <adking@redhat.com>
  • Loading branch information
adk3798 authored Sep 14, 2023
2 parents 1df1173 + 15a3d93 commit 980a0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cephadm/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ deps =
flake8-quotes
commands =
flake8 --config=tox.ini {posargs:cephadm.py cephadmlib}
bash -c 'test $(git ls-files 'cephadm.py' 'cephadmlib/*.py' | xargs grep "docker.io" | wc -l) == 11'
bash -c 'test $(git ls-files 'cephadm.py' 'cephadmlib/*.py' | sort -u | xargs grep "docker.io" | wc -l) == 11'
# Downstream distributions may choose to alter this "docker.io" number,
# to make sure no new references to docker.io are creeping in unnoticed.
Expand Down

0 comments on commit 980a0a4

Please sign in to comment.