Enable static checks
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
parent
32e2260be2
commit
db0a4ec1c8
33 changed files with 116 additions and 96 deletions
|
@ -88,8 +88,7 @@ func CreateRandomLayers(n int) (map[digest.Digest]io.ReadSeeker, error) {
|
|||
return nil, fmt.Errorf("unexpected error generating test layer file: %v", err)
|
||||
}
|
||||
|
||||
dgst := digest.Digest(ds)
|
||||
digestMap[dgst] = rs
|
||||
digestMap[ds] = rs
|
||||
}
|
||||
return digestMap, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue