Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor


This PR closes one of the issues in #8280
Make sure to mark the boxes below before creating PR: [x]

  • Description above provides context of the change
  • Unit tests coverage for changes (not needed for documentation changes)
  • Target Github ISSUE in description if exists
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

@boring-cyborg boring-cyborg bot added area:docs provider:google Google (including GCP) related issues labels May 28, 2020
@mik-laj mik-laj self-requested a review May 28, 2020 20:26
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
os.remove(PATH_TO_UPLOAD_FILE)
self.delete_gcs_bucket(BUCKET_NAME)
self.delete_gcs_bucket(BUCKET_NAME)
os.remove(PATH_TO_UPLOAD_FILE)

Just in case the file was deleted by something. It's better to have a dangling file than a bucket 😃

@turbaszek
Copy link
Member

@ephraimbuddy can you please rebase?

@kaxil kaxil merged commit 886afaf into apache:master May 29, 2020
@ephraimbuddy ephraimbuddy deleted the localgcs branch September 6, 2020 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants