Merge pull request #1595 from JoeWrightss/patch-1

Fix some spelling errors
This commit is contained in:
Sebastiaan van Stijn 2019-01-13 14:55:11 +01:00 committed by GitHub
commit a6e37bd666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ var patternString = fmt.Sprintf(
var defaultPattern = regexp.MustCompile(patternString) var defaultPattern = regexp.MustCompile(patternString)
// DefaultSubstituteFuncs contains the default SubstitueFunc used by the docker cli // DefaultSubstituteFuncs contains the default SubstituteFunc used by the docker cli
var DefaultSubstituteFuncs = []SubstituteFunc{ var DefaultSubstituteFuncs = []SubstituteFunc{
softDefault, softDefault,
hardDefault, hardDefault,

View File

@ -91,7 +91,7 @@ func NewImageManifest(ref reference.Named, desc ocispec.Descriptor, manifest *sc
} }
} }
// SerializableNamed is a reference.Named that can be serialzied and deserialized // SerializableNamed is a reference.Named that can be serialized and deserialized
// from JSON // from JSON
type SerializableNamed struct { type SerializableNamed struct {
reference.Named reference.Named