Skip to content

Use the correct zap sugared logger syntax#5747

Merged
knative-prow-robot merged 1 commit into
knative:masterfrom
grantr:fix-fatalw
Oct 3, 2019
Merged

Use the correct zap sugared logger syntax#5747
knative-prow-robot merged 1 commit into
knative:masterfrom
grantr:fix-fatalw

Conversation

@grantr
Copy link
Copy Markdown
Contributor

@grantr grantr commented Oct 2, 2019

Fatalw needs either a zap.Field or key, value pairs in the variadic args.

Fixes #5746

/lint

Proposed Changes

  • Update Fatalw to correct syntax in webhook and autoscaler

Fatalw needs either a zap.Field or key, value pairs in the variadic
args.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 2, 2019
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 2, 2019
Copy link
Copy Markdown
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@grantr: 0 warnings.

Details

In response to this:

Fatalw needs either a zap.Field or key, value pairs in the variadic args.

Fixes #5746

/lint

Proposed Changes

  • Update Fatalw to correct syntax in webhook and autoscaler

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@knative-prow-robot knative-prow-robot added area/API API objects and controllers area/autoscale labels Oct 2, 2019
@knative-test-reporter-robot
Copy link
Copy Markdown

The following jobs failed:

Test name Triggers Retries
pull-knative-serving-integration-tests pull-knative-serving-integration-tests 1/3

Automatically retrying due to test flakiness...
/test pull-knative-serving-integration-tests

Copy link
Copy Markdown
Contributor

@vagababov vagababov left a comment

Choose a reason for hiding this comment

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

I thought a real "bunch" based on the issue :-)

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 3, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: grantr, vagababov

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 3, 2019
@knative-prow-robot knative-prow-robot merged commit e59a7f4 into knative:master Oct 3, 2019
@grantr
Copy link
Copy Markdown
Contributor Author

grantr commented Oct 3, 2019

Two can be a bunch!🍌 🍌

@grantr grantr deleted the fix-fatalw branch October 3, 2019 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/API API objects and controllers area/autoscale cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fatalw("...", err) logging pattern is invalid

5 participants