File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -6268,6 +6268,8 @@ check_leafref_features(struct lys_type *type)
62686268 aug = (struct lys_node_augment * )iter -> parent ;
62696269 if ((aug -> module -> implemented && (aug -> flags & LYS_NOTAPPLIED )) || !aug -> target ) {
62706270 /* unresolved augment, wait until it's resolved */
6271+ LOGVAL (LYE_SPEC , LY_VLOG_LYS , aug ,
6272+ "Cannot check leafref \"%s\" if-feature consistency because of an unresolved augment." , type -> info .lref .path );
62716273 ret = EXIT_FAILURE ;
62726274 goto cleanup ;
62736275 }
@@ -6283,6 +6285,8 @@ check_leafref_features(struct lys_type *type)
62836285 aug = (struct lys_node_augment * )iter -> parent ;
62846286 if ((aug -> module -> implemented && (aug -> flags & LYS_NOTAPPLIED )) || !aug -> target ) {
62856287 /* unresolved augment, wait until it's resolved */
6288+ LOGVAL (LYE_SPEC , LY_VLOG_LYS , aug ,
6289+ "Cannot check leafref \"%s\" if-feature consistency because of an unresolved augment." , type -> info .lref .path );
62866290 ret = EXIT_FAILURE ;
62876291 goto cleanup ;
62886292 }
You can’t perform that action at this time.
0 commit comments