Commit b592c14e authored by Jiahang Chen's avatar Jiahang Chen
Browse files

fix subfeature instance problem

parent a5463fe0
Pipeline #513367 passed with stages
in 32 seconds
......@@ -201,11 +201,10 @@ def build_sub_features(feature_ins, feature):
"""
sub_features = feature.get("subFeatures", [])
### Because of the uniqueness of subfeatures, like ml40::JobList can have many fml40::ForwardingJob in subFeatures
for sub_f in sub_features:
sub_f_name = sub_f.get("name")
if sub_f_name is None:
sub_f_name = sub_f.get("class", "")
sub_f_name = sub_f.get("identifier")
_class_name = sub_f.get("class", "")
sub_f_obj = DT_FACTORY.get(remove_namespace(_class_name), None)
if sub_f_obj is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment