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

Use the new(er) getServiceAccount method instead of hard coding the storage service account #1666

Merged
merged 3 commits into from
Feb 6, 2019

Conversation

dwsupplee
Copy link
Contributor

The {projectId}@gs-project-accounts.iam.gserviceaccount.com format has been deprecated, utilizing the getServiceAccount request will make sure we are always using the correct format.

@dwsupplee dwsupplee added the api: storage Issues related to the Cloud Storage API. label Feb 5, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 5, 2019
Copy link
Contributor

@jdpedrie jdpedrie left a comment

Choose a reason for hiding this comment

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

Could you delete the variable declaration on line 63:

self::$ownerProject = self::$ownerKeyFile['project_id'];

@dwsupplee
Copy link
Contributor Author

Updated. PTAL

@dwsupplee dwsupplee merged commit 22b52f2 into googleapis:master Feb 6, 2019
@jdpedrie jdpedrie mentioned this pull request Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants