Name no node: trim node names from the per-module manifest denylists now that the catalogue-wide check covers them (1838/AC1)
This commit is contained in:
@@ -259,7 +259,8 @@ func checkNoSecretsOrInstallationNames(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
s := strings.ToLower(string(raw))
|
||||
for _, never := range []string{"/home/", "jochen", "g14", "shanks", "novox.be", "api_key", ".hal/", "greenclip daemon"} {
|
||||
// 1838/AC1: the catalogue-wide check covers a node's name now; this list keeps what it does not.
|
||||
for _, never := range []string{"/home/", "jochen", "api_key", ".hal/", "greenclip daemon"} {
|
||||
if strings.Contains(s, never) {
|
||||
t.Errorf("module.json names %q", never)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user