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

Exposing GpdStorage and adding RegionToZoneMap #754

Merged
merged 4 commits into from Sep 11, 2020
Merged

Conversation

bathina2
Copy link
Contributor

@bathina2 bathina2 commented Sep 9, 2020

Change Overview

Exposing the GpdStorage Type and adding the ability to retrieve a RegionToZone map

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • πŸ› Bugfix
  • 🌻 Feature
  • πŸ—ΊοΈ Documentation
  • πŸ€– Test

Test Plan

  • πŸ’ͺ Manual
  • ⚑ Unit test
  • πŸ’š E2E

Copy link
Contributor

@DeepikaDixit DeepikaDixit left a comment

Choose a reason for hiding this comment

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

LGTM

Will let others also take a look

Comment on lines +47 to 50
type GpdStorage struct {
service *compute.Service
project string
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not expose the internal fields (or provide accessors) when you do this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Didn't need them. Only wanted access to the RegionToZoneMap. Can expose them as needed in the future.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok

@bathina2 bathina2 added bug kueue and removed bug labels Sep 11, 2020
@mergify mergify bot merged commit 8439985 into master Sep 11, 2020
@mergify mergify bot deleted the load_region_zones branch September 11, 2020 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants