diff options
author | Sergio Arbeo <serabe@gmail.com> | 2017-01-30 13:15:47 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-30 13:15:47 +0100 |
commit | bb36105c3d9f3d92306450f7679cd99fb20d4e40 (patch) | |
tree | 46990fa018174a1faf7531dca72d560d9e24d129 /config | |
parent | aa249bc28c6f6c4f5cb6fea2d71ea593f10431b0 (diff) | |
download | go-git-bb36105c3d9f3d92306450f7679cd99fb20d4e40.tar.gz |
Fix typos in config pkg (#233)
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 4 | ||||
-rw-r--r-- | config/modules.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/config.go b/config/config.go index fc6d84c..bf0cea2 100644 --- a/config/config.go +++ b/config/config.go @@ -55,7 +55,7 @@ func NewConfig() *Config { } } -// Validate validate the fields and set the default values +// Validate validates the fields and sets the default values func (c *Config) Validate() error { for name, r := range c.Remotes { if r.Name != name { @@ -153,7 +153,7 @@ type RemoteConfig struct { raw *format.Subsection } -// Validate validate the fields and set the default values +// Validate validates the fields and sets the default values func (c *RemoteConfig) Validate() error { if c.Name == "" { return ErrRemoteConfigEmptyName diff --git a/config/modules.go b/config/modules.go index 8b3d2b8..b1f35b8 100644 --- a/config/modules.go +++ b/config/modules.go @@ -93,7 +93,7 @@ type Submodule struct { raw *format.Subsection } -// Validate validate the fields and set the default values +// Validate validates the fields and sets the default values func (m *Submodule) Validate() error { if m.Path == "" { return ErrModuleEmptyPath |