aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/config.go4
-rw-r--r--config/modules.go2
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