moby/layer
Sebastiaan van Stijn 62344f515c
layer: layerStore.registerWithDescriptor: rename var to prevent shadowing
This `err` is special (as described at the top of the function), but due
to its name is easy to overlook, which risks the chance of inadvertently
shadowing it.

This patch renames the variable to reduce the chance of this happening.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-25 13:36:57 +01:00
..
empty.go layer: remove unused error return from .Size() and .DiffSize() 2022-01-24 18:45:47 +01:00
empty_test.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
filestore.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 16:42:13 +01:00
filestore_test.go layer: gofumpt 2022-10-08 19:15:28 +02:00
layer.go pkg/containerfs: drop ContainerFS type alias 2022-09-23 16:56:53 -04:00
layer_store.go layer: layerStore.registerWithDescriptor: rename var to prevent shadowing 2022-11-25 13:36:57 +01:00
layer_store_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
layer_test.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 16:42:13 +01:00
layer_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
layer_unix_test.go layer: gofumpt 2022-10-08 19:15:28 +02:00
layer_windows.go pkg/containerfs: alias ContainerFS to string 2022-09-23 16:56:52 -04:00
migration.go Merge pull request #43302 from thaJeztah/layer_remove_getwithoutlock 2022-03-05 21:18:26 +01:00
migration_test.go layer: gofumpt 2022-10-08 19:15:28 +02:00
mount_test.go layer: gofumpt 2022-10-08 19:15:28 +02:00
mounted_layer.go pkg/containerfs: drop ContainerFS type alias 2022-09-23 16:56:53 -04:00
ro_layer.go layer: gofumpt 2022-10-08 19:15:28 +02:00
ro_layer_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00