From: Ken Dreyer Date: Wed, 16 Feb 2022 14:48:59 +0000 (-0500) Subject: cephadm: add comment explaining docker.io grep test X-Git-Tag: v17.2.1~73^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a11376437fabc43ffed5cb9bf258faf3ba7747f8;p=ceph.git cephadm: add comment explaining docker.io grep test Add a comment explain this docker.io grep count test, since it's difficult to understand the purpose from simply reading the code. Signed-off-by: Ken Dreyer (cherry picked from commit 14c5538a311542e1466a9426c35108ce3e394338) --- diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index 324e725394b3..4f8d3d7af226 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -63,3 +63,5 @@ deps = commands = flake8 --config=tox.ini {posargs:cephadm} bash -c "test $(grep 'docker.io' cephadm | wc -l) == 13" +# Downstream distributions may choose to alter this "docker.io" number, +# to make sure no new references to docker.io are creeping in unnoticed.