commit | c431a0a15ff142c9d8ba305f38fe696d2fef909f | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Jan 25 14:31:58 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Jan 25 16:26:42 2021 +0100 |
tree | 7473daf37cac1dcf2fa5cc7b1713c08d3659d80b | |
parent | 7edebb499319f9c4d7b87ca00a4683e6f3dd7aab [diff] [blame] |
yanglint FEATURE do not load ietf-yang-library by default To avoid validation errors caused by this module. Fixes #1371
diff --git a/tools/lint/main.c b/tools/lint/main.c index 44eca9b..280df8c 100644 --- a/tools/lint/main.c +++ b/tools/lint/main.c
@@ -49,7 +49,7 @@ linenoiseSetCompletionCallback(complete_cmd); load_config(); - if (ly_ctx_new(NULL, 0, &ctx)) { + if (ly_ctx_new(NULL, YL_DEFAULT_CTX_OPTIONS, &ctx)) { YLMSG_E("Failed to create context.\n"); return 1; }