Skip to content

Conversation

pboothe
Copy link
Contributor

@pboothe pboothe commented Feb 13, 2020

Also eliminates a bug where the md5 might not encode to a valid UTF8 string to use as a prometheus label


This change is Reviewable

Also eliminates a bug where the md5 might not encode to a valid UTF8
string to use as a prometheus label
@coveralls
Copy link
Collaborator

coveralls commented Feb 13, 2020

Pull Request Test Coverage Report for Build 62

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 57: 0.0%
Covered Lines: 212
Relevant Lines: 212

💛 - Coveralls

Copy link
Contributor

@stephen-soltesz stephen-soltesz left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @pboothe and @stephen-soltesz)


zipfile/provider.go, line 98 at r1 (raw file):

	case "gs":
		client, err := storage.NewClient(ctx)
		filename := u.Path

I expected you to use strings.TrimPrefix inline. It's a noop if the "/" is missing & saves two lines.

Copy link
Contributor Author

@pboothe pboothe left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @stephen-soltesz)


zipfile/provider.go, line 98 at r1 (raw file):

Previously, stephen-soltesz (Stephen Soltesz) wrote…

I expected you to use strings.TrimPrefix inline. It's a noop if the "/" is missing & saves two lines.

TIL

@pboothe pboothe merged commit 3465709 into master Feb 13, 2020
@pboothe pboothe deleted the parse-urls-correctly branch February 13, 2020 18:58
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.

3 participants