Skip to content

Conversation

@ldez
Copy link
Contributor

@ldez ldez commented May 26, 2017

Description

  • log & error: remove format if not necessary, add if necessary.
  • add constants for k8s annotations.
  • fix typos

@ldez ldez added area/logs kind/enhancement a new or improved feature. labels May 26, 2017
@ldez ldez force-pushed the refactor/logs-review branch from 318294b to 29042b9 Compare May 26, 2017 15:33
Copy link
Contributor

@timoreimann timoreimann left a comment

Choose a reason for hiding this comment

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

My OCD ❤️ s this PR. :-)

A few minor remarks, basically just repetitions of two classes of comments.

Copy link
Contributor

Choose a reason for hiding this comment

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

Label -> label

Copy link
Contributor

Choose a reason for hiding this comment

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

Label -> label

Copy link
Contributor

Choose a reason for hiding this comment

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

Bad -> bad

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why put the first letter in lower case? For me, a sentence begins with an uppercase letter. If it's for consistency, I can change the others too.

Copy link
Contributor

Choose a reason for hiding this comment

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

Because of this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good to known! 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

Bad -> bad

Copy link
Contributor

Choose a reason for hiding this comment

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

Bad -> bad

Copy link
Contributor

Choose a reason for hiding this comment

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

Better to use t.Fatalf.

Copy link
Contributor

Choose a reason for hiding this comment

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

Better to use t.Fatalf.

Copy link
Contributor

Choose a reason for hiding this comment

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

Better to use t.Fatalf.

Copy link
Contributor

Choose a reason for hiding this comment

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

Better to use t.Fatalf.

Copy link
Contributor

Choose a reason for hiding this comment

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

Better to use t.Fatalf.

@ldez ldez force-pushed the refactor/logs-review branch from fda6eb2 to d54ffbc Compare May 28, 2017 04:37
@ldez ldez added this to the 1.4 milestone May 29, 2017
@ldez ldez force-pushed the refactor/logs-review branch 2 times, most recently from 48baf52 to f12622d Compare May 30, 2017 18:04
Copy link
Member

@emilevauge emilevauge left a comment

Choose a reason for hiding this comment

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

Great job @ldez !
LGTM

@ldez
Copy link
Contributor Author

ldez commented May 30, 2017

ping @timoreimann 😉

- log & error: remove format if not necessary, add if necessary.
- add constants for k8s annotations.
- fix typos
@ldez ldez force-pushed the refactor/logs-review branch from f12622d to ad531db Compare May 30, 2017 19:22
Copy link
Contributor

@timoreimann timoreimann left a comment

Choose a reason for hiding this comment

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

Great job, @ldez -- one less consistency problem in the world to think about. 😺 👍

@ldez ldez merged commit cbccdd5 into traefik:master May 30, 2017
@ldez ldez deleted the refactor/logs-review branch May 30, 2017 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/logs kind/enhancement a new or improved feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants