Allow interface{} keys when using logger
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
bffea2d94f
commit
cabf1fd236
@ -241,7 +241,7 @@ func (bw *blobWriter) validateBlob(ctx context.Context, desc distribution.Descri
|
|||||||
|
|
||||||
if !verified {
|
if !verified {
|
||||||
context.GetLoggerWithFields(ctx,
|
context.GetLoggerWithFields(ctx,
|
||||||
map[string]interface{}{
|
map[interface{}]interface{}{
|
||||||
"canonical": canonical,
|
"canonical": canonical,
|
||||||
"provided": desc.Digest,
|
"provided": desc.Digest,
|
||||||
}, "canonical", "provided").
|
}, "canonical", "provided").
|
||||||
|
Loading…
Reference in New Issue
Block a user