Fix some spelling errors

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
JoeWrightss 2019-01-01 00:05:24 +08:00 committed by zhoulin xie
parent 4eab3cd19a
commit 9c9ce7f4c2
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ var patternString = fmt.Sprintf(
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{
softDefault,
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
type SerializableNamed struct {
reference.Named