moby/testutil
Sebastiaan van Stijn c0c146fc82
Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex
Both of these were deprecated in 55f675811a,
but the format of the GoDoc comments didn't follow the correct format, which
caused them not being picked up by tools as "deprecated".

This patch updates uses in the codebase to use the alternatives.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 0f7c9cd27e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-09 00:17:18 +01:00
..
daemon testutil: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
environment integration-cli: TestEventsOOM* broken on GitHub Runner 2022-09-08 13:50:19 +02:00
fakecontext testutil: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
fakegit refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fakestorage refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fixtures testutil: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
registry Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-12-09 00:17:18 +01:00
request refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
doc.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helper.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helpers.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
stringutils.go gosec: G404: Use of weak random number generator 2021-06-10 13:03:18 +02:00
stringutils_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00