Skip to content

Fix 'Sink.from_api_repr'. - #1825

Merged
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:1817-logging-fix-sink-from_api_repr
May 26, 2016
Merged

Fix 'Sink.from_api_repr'.#1825
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:1817-logging-fix-sink-from_api_repr

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

Resource's name field is not a path (like metric).

Also, drop the no-longer-needed name-from-path regexps/helpers for metric and sink.

Add a system test for Client.list_sinks which exercises Sink.from_api_repr against real resource data.

Closes#1817.

Resource's 'name' field is not a path (like metric).
Also, drop the no-longer-needed name-from-path regexps/helpers for metric
and sink.
Add a system test for 'Client.list_sinks' which exercises 'Sink.from_api_repr'
against real resource data.
Closes#1817.
@tseavertseaver added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. api: logging Issues related to the Cloud Logging API. labels May 26, 2016
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label May 26, 2016
@dhermes

Copy link
Copy Markdown
Contributor

Pretty simple to review, no comments from me but I want @waprin to have a look before I sign off.

@waprin

Copy link
Copy Markdown
Contributor

lgtm

@tseaver
tseaver merged commit 0fe6657 into googleapis:masterMay 26, 2016
@tseaver
tseaver deleted the 1817-logging-fix-sink-from_api_repr branch May 26, 2016 19:27
@dhermesdhermes mentioned this pull request Jun 7, 2016
parthea added a commit that referenced this pull request Nov 24, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: loggingIssues related to the Cloud Logging API.cla: yesThis human has signed the Contributor License Agreement.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@tseaver@dhermes@waprin@googlebot