]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: add comment explaining docker.io grep test 45056/head
authorKen Dreyer <kdreyer@redhat.com>
Wed, 16 Feb 2022 14:48:59 +0000 (09:48 -0500)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 17 Mar 2022 16:49:39 +0000 (12:49 -0400)
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 <kdreyer@redhat.com>
src/cephadm/tox.ini

index 324e725394b342420a936014b3f9cd493a34a7ec..4f8d3d7af2269735e4c772a7d0f770f41e988c19 100644 (file)
@@ -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.