Skip to content

Commit fd3b5cc

Browse files
committed
fix: correct initialization of opblackList in PluralHelper
1 parent 1c101ce commit fd3b5cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/LibKubernetesGenerator/PluralHelper.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ internal class PluralHelper : IScriptObjectHelper
1111
{
1212
private readonly Dictionary<string, string> _classNameToPluralMap;
1313
private readonly ClassNameHelper classNameHelper;
14-
private readonly HashSet<string> opblackList = new HashSet<string>()
15-
{
14+
private readonly HashSet<string> opblackList =
15+
[
1616
"listClusterCustomObject",
1717
"listNamespacedCustomObject",
18-
};
18+
"listCustomObjectForAllNamespaces",
19+
];
1920

2021
public PluralHelper(ClassNameHelper classNameHelper, OpenApiDocument swagger)
2122
{

0 commit comments

Comments
 (0)