Skip to content
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

improvement: Rework options validation #14

Merged
merged 1 commit into from
Oct 2, 2020
Merged

improvement: Rework options validation #14

merged 1 commit into from
Oct 2, 2020

Conversation

dm36
Copy link
Contributor

@dm36 dm36 commented Sep 3, 2020

improvement: Rework options validation

Rework validation for MAC and IP addresses to use net. Also updates max length to 80, the hostname regex, the README and reworks error handling.

Semver: Patch
Ref: LOG-6969

@dm36 dm36 marked this pull request as draft September 3, 2020 00:21
@dm36 dm36 changed the title Rework validation for options Rework options validation Sep 3, 2020
@dm36 dm36 changed the title Rework options validation improvement: Rework options validation Sep 3, 2020
@dm36 dm36 requested a review from mdeltito September 3, 2020 00:36
@dm36 dm36 force-pushed the dmadhok/LOG-6969 branch 2 times, most recently from a868943 to d260fd9 Compare September 9, 2020 21:49
@dm36 dm36 marked this pull request as ready for review September 9, 2020 21:49
Copy link

@jakedipity jakedipity left a comment

Choose a reason for hiding this comment

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

This PR seems fine to me, but I had a comment around the returned error structure.

logger/options.go Outdated Show resolved Hide resolved
logger/options.go Outdated Show resolved Hide resolved
logger/options.go Outdated Show resolved Hide resolved
logger/options.go Outdated Show resolved Hide resolved
logger/options.go Outdated Show resolved Hide resolved
logger/options.go Outdated Show resolved Hide resolved
logger/options.go Outdated Show resolved Hide resolved
logger/options.go Outdated Show resolved Hide resolved
@dm36 dm36 force-pushed the dmadhok/LOG-6969 branch 8 times, most recently from 627b9f1 to 496c280 Compare September 25, 2020 19:45
@dm36 dm36 requested a review from a user September 25, 2020 19:46
logger/logger_test.go Show resolved Hide resolved
logger/options_test.go Show resolved Hide resolved
logger/transport.go Show resolved Hide resolved
Rework validation for MAC and IP addresses to use net. Also updates max length to 80, the hostname regex, the README and reworks error handling.

Semver: Patch
Ref: LOG-6969
@dm36 dm36 merged commit 9b3fc06 into master Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants