fix: error msg change, t.helper
This commit is contained in:
@@ -29,7 +29,7 @@ type Manager struct {
|
||||
|
||||
func validateMgrCfg(cfg *ManagerConfig) error {
|
||||
if cfg.Root == "" {
|
||||
return fmt.Errorf("Root path cannot be empty")
|
||||
return fmt.Errorf("root path cannot be empty")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user