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

Fix pelican plugin bug no valid classads... #942

Merged

Conversation

joereuss12
Copy link
Contributor

This fixes the bug we were getting with the pelican plugin where we would see the plugin exiting 0 but sending out no valid classads. The issue was an error type being written out and bypassing strconv.QuoteToASCII which would remove any inside quotes.

Also found a spot where we were getting a nil pointer dereference because we were accessing data before an error check, fixed as well

This fixes the bug we were getting with the pelican plugin where we
would see the plugin exiting 0 but sending out `no valid classads`. The
issue was an error type being written out and bypassing
strconv.QuoteToASCII which would remove any inside quotes.

Also found a spot where we were getting a nil pointer dereference because we were
accessing data before an error check, fixed as well
@joereuss12 joereuss12 added bug Something isn't working client Issue affecting the OSDF client critical High priority for next release labels Mar 14, 2024
Copy link
Collaborator

@turetske turetske left a comment

Choose a reason for hiding this comment

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

LGTM

@turetske turetske merged commit f189dd4 into PelicanPlatform:main Mar 14, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working client Issue affecting the OSDF client critical High priority for next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants