File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -266,19 +266,23 @@ def _parse_change_path(self, path):
266
266
path_tokens = path .split (PATH_TOKEN )
267
267
folder_names = self .aliases .get_model_section_top_level_folder_names (path_tokens [0 ])
268
268
269
+ attribute_names = []
270
+ attributes_location = self .aliases .get_model_section_attribute_location (path_tokens [0 ])
271
+ if attributes_location :
272
+ attribute_names = self .aliases .get_model_attribute_names (attributes_location )
273
+
269
274
if path_tokens [0 ] == KUBERNETES :
270
275
return None , None
271
276
272
277
for path_token in path_tokens [1 :]:
273
- attribute_names = self .aliases .get_model_attribute_names (location )
274
-
275
278
if name_token_next :
276
279
token_name = self .aliases .get_name_token (location )
277
280
location .add_name_token (token_name , path_token )
278
281
name_token_next = False
279
282
elif path_token in folder_names :
280
283
location .append_location (path_token )
281
284
folder_names = self .aliases .get_model_subfolder_names (location )
285
+ attribute_names = self .aliases .get_model_attribute_names (location )
282
286
regular_type = not self .aliases .is_artificial_type_folder (location )
283
287
security_type = regular_type and self .aliases .is_security_provider_type (location )
284
288
multiple_type = regular_type and self .aliases .supports_multiple_mbean_instances (location )
You can’t perform that action at this time.
0 commit comments