-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add account name to pubsub and bigquery #699
Conversation
@grantstephens there's been a v7 release now so you can continue on with this PR. |
179812d
to
d073f7b
Compare
d345623
to
ebb899a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a couple of small tweaks...
@@ -366,7 +370,7 @@ func getBigQueryError(i *fastly.GetBigQueryInput) (*fastly.BigQuery, error) { | |||
return nil, errTest | |||
} | |||
|
|||
var describeBigQueryOutput = "\n" + strings.TrimSpace(` | |||
var describeBigQueryOutput = "\n" + strings.TrimSpace(`Account name: `+` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be simplified to:
var describeBigQueryOutput = "\n" + strings.TrimSpace(`Account name: `+` | |
var describeBigQueryOutput = "\n" + strings.TrimSpace(`Account name: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes and no- depending on your editor it removes the space after account name and then the test fails- this is a hacky way around it- the other way is to set it to an actual value so that it isn't a blank line./
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 4e0a709
Sorry, forgot I'd done this in trying to get the tests working
Co-authored-by: Mark McDonnell <[email protected]>
This is blocked waiting for a new release of go-fastly. The tests need to be updated, but it cannot be tested without the release, so waiting on that.