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

Fix spelling mistakes #3434

Merged
merged 1 commit into from
Jan 23, 2017
Merged

Fix spelling mistakes #3434

merged 1 commit into from
Jan 23, 2017

Conversation

bengadbois
Copy link
Contributor

No description provided.

@elasticmachine
Copy link
Collaborator

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run.

1 similar comment
@elasticmachine
Copy link
Collaborator

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run.

@@ -13,7 +13,7 @@ import (
"time"
)

// A PackageFile is an RPM package definition loaded directly from the pacakge
// A PackageFile is an RPM package definition loaded directly from the package
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you remove this one please? It's in a dependency so it doesn't help to much to fix the typo in our vendored copy.

@@ -167,7 +167,7 @@ func (c *PackageFile) FileSize() uint64 {
return c.fileSize
}

// Checksum computes and returns the SHA256 checksum (encoded in hexidecimal) of
// Checksum computes and returns the SHA256 checksum (encoded in hexadecimal) of
Copy link
Contributor

Choose a reason for hiding this comment

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

Same on this one.

@@ -66,7 +66,7 @@ func (w *worker) tick(t *time.Ticker) bool {
}
}

func (w *worker) periodicaly(tick time.Duration, fn func() error) {
func (w *worker) periodically(tick time.Duration, fn func() error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

There's some unit test failures which I suspect are caused by this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be fixed now

@tsg
Copy link
Contributor

tsg commented Jan 22, 2017

Thanks for the fixes, I left some comments. Out of curiosity, did you use a tool for this? Perhaps we can integrate it in our processes.

@bengadbois
Copy link
Contributor Author

bengadbois commented Jan 23, 2017

I ran Gometalinter which includes a number of opinionated suggestions, but the specific linter that caught these was misspell.

This is how I added it to Caddy's build.

I've personally not had false positives, but might not want to make that a build passing requirement if you choose to adopt it.

@tsg
Copy link
Contributor

tsg commented Jan 23, 2017

jenkins, test it

@tsg
Copy link
Contributor

tsg commented Jan 23, 2017

Thanks @bengadbois!

@tsg tsg merged commit 4f41540 into elastic:master Jan 23, 2017
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.

4 participants