-
Notifications
You must be signed in to change notification settings - Fork 591
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
bigquery: incorporate common/Operation #1771
bigquery: incorporate common/Operation #1771
Conversation
parent: bigQuery, | ||
baseUrl: '/jobs', | ||
id: id, | ||
methods: methods | ||
id: id |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
return; | ||
} | ||
|
||
Job.prototype.poll_ = function(callback) { | ||
this.getMetadata(function(err, metadata, apiResponse) { | ||
if (apiResponse.status && apiResponse.status.errors) { | ||
err = common.util.ApiError(apiResponse.status); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
5d4a4f7
to
cc69be9
Compare
Related: #1770
This converts
bigquery/job
to usecommon/operation
.