Skip to content

Commit ee5256b

Browse files
committed
Rename variables, revise comments
1 parent a4334bd commit ee5256b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/python/wlsdeploy/tool/modelhelp/model_kubernetes_printer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def _print_subfolders_sample(self, schema_folder, control_option, indent_level,
113113

114114
folder_info = _get_properties(schema_folder)
115115
folder_map = dict()
116-
multi_folders = []
116+
object_array_keys = []
117117

118118
for key in folder_info:
119119
property_map = folder_info[key]
@@ -124,7 +124,7 @@ def _print_subfolders_sample(self, schema_folder, control_option, indent_level,
124124

125125
elif wko_schema_helper.is_object_array(property_map):
126126
folder_map[key] = wko_schema_helper.get_array_item_info(property_map)
127-
multi_folders.append(key)
127+
object_array_keys.append(key)
128128

129129
folder_keys = list(folder_map.keys())
130130
folder_keys.sort()
@@ -143,7 +143,7 @@ def _print_subfolders_sample(self, schema_folder, control_option, indent_level,
143143
next_path = path + "/" + key
144144
if control_option == ControlOptions.RECURSIVE:
145145
# Call this method recursively
146-
child_in_object_array = key in multi_folders
146+
child_in_object_array = key in object_array_keys
147147
self._print_subfolders_sample(folder_info, control_option, child_level, path,
148148
child_in_object_array)
149149
else:
@@ -213,7 +213,7 @@ def _get_properties(schema_folder):
213213

214214
def _get_folder_names(schema_properties):
215215
"""
216-
Return the folder names (single and multiple) described by the schema properties.
216+
Return the object keys (single or array) described by the schema properties.
217217
:param schema_properties: the properties to be examined
218218
:return: a list of folder names
219219
"""

0 commit comments

Comments
 (0)