Skip to content

Commit

Permalink
renamed ContentType to MediaType
Browse files Browse the repository at this point in the history
  • Loading branch information
triarius committed Sep 18, 2018
1 parent 3a5291e commit ade70d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions distribution/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ func pbkdf2Aes256GcmEncrypt(
err error,
) {
// make the config
var dec *crypto.DeCrypto
dec, err = crypto.NewDecrypto(opts)
//var dec *crypto.DeCrypto
dec, err := crypto.NewDecrypto(opts)
if err != nil {
return
}
Expand Down
2 changes: 1 addition & 1 deletion distribution/manifest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestImageMock(t *testing.T) {
mockLayer,
*opts,
passphrase,
"",
fmt.Sprintf("layer is of wrong type: %T", new(mockBlob)),
fmt.Sprintf("config is of wrong type: %T", manifest.Config),
fmt.Sprintf("layer is of wrong type: %T", new(mockBlob)),
},
Expand Down

0 comments on commit ade70d8

Please sign in to comment.