fix some misspells

Signed-off-by: kaiwentan <kaiwentan@harmonycloud.cn>
This commit is contained in:
kaiwentan 2017-01-21 00:05:33 +08:00 committed by Kevin Tan
parent 56b712f454
commit 20036597bf
2 changed files with 2 additions and 2 deletions

View file

@ -329,7 +329,7 @@ type Health struct {
type v0_1Configuration Configuration type v0_1Configuration Configuration
// UnmarshalYAML implements the yaml.Unmarshaler interface // 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 { func (version *Version) UnmarshalYAML(unmarshal func(interface{}) error) error {
var versionString string var versionString string
err := unmarshal(&versionString) err := unmarshal(&versionString)

View file

@ -64,7 +64,7 @@
// Note that this only affects the new context, the previous context, with the // Note that this only affects the new context, the previous context, with the
// version field, can be used independently. Put another way, the new logger, // version field, can be used independently. Put another way, the new logger,
// added to the request context, is unique to that context and can have // added to the request context, is unique to that context and can have
// request scoped varaibles. // request scoped variables.
// //
// HTTP Requests // HTTP Requests
// //