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

Close GCS writer on return #312

Merged

Conversation

Milkshak3s
Copy link
Contributor

@Milkshak3s Milkshak3s commented Apr 14, 2022

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area outputs

What this PR does / why we need it:
Fixes a bug in the GCP UploadGCS function in which the bucket writer is not properly closed, preventing the new object from being written to the remote bucket.

Which issue(s) this PR fixes:

(one sec)
Fixes #313

Special notes for your reviewer:
Tested locally.
Previously: new object not written post-execution.
After change: new object is written post-execution.

@poiana
Copy link

poiana commented Apr 14, 2022

Welcome @Milkshak3s! It looks like this is your first PR to falcosecurity/falcosidekick 🎉

Signed-off-by: Milkshak3s <justchris.vantine@gmail.com>
@Milkshak3s Milkshak3s force-pushed the milkshak3s-bugfix-gcs-close-writer branch from 79c04c9 to ad14f31 Compare April 14, 2022 18:57
@Issif Issif added this to In progress in 2.x via automation Apr 14, 2022
@Issif Issif added this to the 2.25.0 milestone Apr 14, 2022
@poiana
Copy link

poiana commented Apr 14, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Issif, Milkshak3s

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana added the lgtm label Apr 14, 2022
@poiana
Copy link

poiana commented Apr 14, 2022

LGTM label has been added.

Git tree hash: 599b8cd5b5d72aa2f03a29aabb01e74010d5d833

@Issif
Copy link
Member

Issif commented Apr 14, 2022

Thank you 👍

@poiana poiana merged commit 9154556 into falcosecurity:master Apr 14, 2022
2.x automation moved this from In progress to Done Apr 14, 2022
@Issif Issif mentioned this pull request May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
2.x
Done
Development

Successfully merging this pull request may close these issues.

GCP Bucket output does not write object to bucket
3 participants