We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a721e8d commit c6c2c96Copy full SHA for c6c2c96
1 file changed
rootfs/helmbroker/utils.py
@@ -316,6 +316,11 @@ def verify_parameters(allow_paras, paras):
316
# sub string, inclusion relationship
317
if not para_key.startswith(allow_para_key):
318
not_allow_paras.append(para_key)
319
+ not_allow_paras = list(set(not_allow_paras))
320
+ for allow_para_key in allow_para_keys:
321
+ # sub string, inclusion relationship
322
+ if para_key.startswith(allow_para_key) and para_key in not_allow_paras: # noqa
323
+ not_allow_paras.remove(para_key)
324
not_allow_keys = ",".join(not_allow_paras)
325
return not_allow_keys
326
0 commit comments