aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go4
1 files changed, 2 insertions, 2 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