fix some misspells
Signed-off-by: kaiwentan <kaiwentan@harmonycloud.cn>
This commit is contained in:
parent
56b712f454
commit
20036597bf
2 changed files with 2 additions and 2 deletions
|
@ -329,7 +329,7 @@ type Health struct {
|
|||
type v0_1Configuration Configuration
|
||||
|
||||
// UnmarshalYAML implements the yaml.Unmarshaler interface
|
||||
// Unmarshals a string of the form X.Y into a Version, validating that X and Y can represent uints
|
||||
// Unmarshals a string of the form X.Y into a Version, validating that X and Y can represent unsigned integers
|
||||
func (version *Version) UnmarshalYAML(unmarshal func(interface{}) error) error {
|
||||
var versionString string
|
||||
err := unmarshal(&versionString)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue