all: remove term "whitelist" in comments and log messages (#23294)

This commit is contained in:
baptiste-b-pegasys
2021-07-29 17:36:15 +02:00
committed by GitHub
parent 295bc35ecf
commit 3526f69047
3 changed files with 4 additions and 4 deletions

View File

@ -450,7 +450,7 @@ func maybeSkipArchive(env build.Environment) {
os.Exit(0)
}
if env.Branch != "master" && !strings.HasPrefix(env.Tag, "v1.") {
log.Printf("skipping archive creation because branch %q, tag %q is not on the whitelist", env.Branch, env.Tag)
log.Printf("skipping archive creation because branch %q, tag %q is not on the inclusion list", env.Branch, env.Tag)
os.Exit(0)
}
}