mirror of https://github.com/docker/cli.git
Fix some spelling errors
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
parent
4eab3cd19a
commit
9c9ce7f4c2
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue