Skip to content

Commit 18f4f17

Browse files
committed
Change method name
1 parent 77e6b43 commit 18f4f17

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

core/src/main/python/wlsdeploy/tool/validate/kubernetes_validator.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def validate_folder(self, model_folder, schema_folder, schema_path, model_path):
7575
next_model_path = model_path + "/" + key
7676
if self._check_folder_path(next_schema_path, next_model_path):
7777
item_info = wko_schema_helper.get_array_item_info(properties)
78-
self._validate_multiple_folder(model_value, item_info, next_schema_path, next_model_path)
78+
self._validate_object_array(model_value, item_info, next_schema_path, next_model_path)
7979

8080
elif wko_schema_helper.is_simple_map(properties):
8181
# map of key / value pairs
@@ -100,10 +100,9 @@ def validate_folder(self, model_folder, schema_folder, schema_path, model_path):
100100
'%s' % ', '.join(schema_properties), class_name=self._class_name,
101101
method_name=_method_name)
102102

103-
def _validate_multiple_folder(self, model_value, property_map, schema_path, model_path):
103+
def _validate_object_array(self, model_value, property_map, schema_path, model_path):
104104
"""
105-
Validate the contents of this multiple-element model section.
106-
There should be a dictionary of names, each containing a sub-folder.
105+
Validate the contents of this object array.
107106
:param model_value: the model contents for a folder
108107
:param property_map: describes the contents of the sub-folder for each element
109108
:param schema_path: the path of schema elements (no multi-element names), used for supported check

0 commit comments

Comments
 (0)