From 9b292e5a645076f5529b2fdc23cb352db1fafa52 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 16 Nov 2020 13:00:27 -0800 Subject: [PATCH] cmd/registry-replacer: Fix "dircetive" -> "directive" typo Typo landed with the pruning line in d98daf9ba6 (Registry replacer: Add explanation in PR body, 2020-07-09, #995). --- cmd/registry-replacer/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/registry-replacer/main.go b/cmd/registry-replacer/main.go index 228b575b185..b47a7cad7f3 100644 --- a/cmd/registry-replacer/main.go +++ b/cmd/registry-replacer/main.go @@ -423,7 +423,7 @@ func upsertPR(gc pgithub.Client, dir, githubUsername string, token []byte, selfA to make sure all images are pulled from the build cluster registry` if pruneUnusedReplacements { - prBody += "\n* Prunes existing replacements that do not match any FROM dircetive in the Dockerfile" + prBody += "\n* Prunes existing replacements that do not match any FROM directive in the Dockerfile" } if ensureCorrectPromotionDockerfile { prBody += "\n* Ensures the Dockerfiles used for promotion jobs matches the ones configured in [ocp-build-data](https://github.com/openshift/ocp-build-data/tree/openshift-4.6/images)"