Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T727 #3578

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

T727 #3578

wants to merge 3 commits into from

Conversation

waltdisgrace
Copy link
Contributor

No description provided.

Copy link
Contributor

@kgaillot kgaillot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good start

lib/common/schemas.c Outdated Show resolved Hide resolved
lib/common/schemas.c Show resolved Hide resolved
lib/common/schemas.c Outdated Show resolved Hide resolved
@@ -1222,7 +1236,7 @@ pcmk_update_configured_schema(xmlNode **xml, bool to_logs)

entry = NULL;
converted = pcmk__xml_copy(NULL, *xml);
if (pcmk__update_schema(&converted, NULL, true, to_logs) == pcmk_rc_ok) {
if (pcmk__update_schema(&converted, NULL, true, out) == pcmk_rc_ok) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can just drop the to_logs argument from pcmk__update_schema() (and the functions further down the call chain)

lib/common/schemas.c Outdated Show resolved Hide resolved
lib/common/schemas.c Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants