From 14c5538a311542e1466a9426c35108ce3e394338 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Wed, 16 Feb 2022 09:48:59 -0500 Subject: [PATCH] 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 --- src/cephadm/tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index 324e725394b34..4f8d3d7af2269 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. -- 2.39.5