Skip to content

Commit 154feb2

Browse files
committed
Corrected comments and logging text
1 parent 6fd768e commit 154feb2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def validate_folder(self, model_folder, schema_folder, schema_path, model_path):
4343
Validate the specified model folder against the specified schema folder
4444
:param model_folder: the model folder to validate
4545
:param schema_folder: the schema folder to validate against
46-
:param schema_path: the path of schema elements (no multi-element names), used for supported check
47-
:param model_path: the path of model elements (including multi-element names), used for logging
46+
:param schema_path: the path of schema elements (no array indices), used for supported check
47+
:param model_path: the path of model elements (including array indices), used for logging
4848
"""
4949
_method_name = 'validate_folder'
5050
self._log_debug(str(model_path))
@@ -63,14 +63,14 @@ def validate_folder(self, model_folder, schema_folder, schema_path, model_path):
6363

6464
if wko_schema_helper.is_single_object(properties):
6565
# single object instance
66-
self._log_debug(' ' + key + ': folder')
66+
self._log_debug(' ' + key + ': single object')
6767
next_schema_path = wko_schema_helper.append_path(schema_path, key)
6868
next_model_path = model_path + "/" + key
6969
if self._check_folder_path(next_schema_path, next_model_path):
7070
self.validate_folder(model_value, properties, next_schema_path, next_model_path)
7171

7272
elif wko_schema_helper.is_object_array(properties):
73-
self._log_debug(' ' + key + ': multiple folder')
73+
self._log_debug(' ' + key + ': object array')
7474
next_schema_path = wko_schema_helper.append_path(schema_path, key)
7575
next_model_path = model_path + "/" + key
7676
if self._check_folder_path(next_schema_path, next_model_path):

0 commit comments

Comments
 (0)