💄 Pass linter
This commit is contained in:
parent
0b0d0fd99e
commit
ae1fc6c8d4
3 changed files with 2 additions and 5 deletions
|
@ -48,7 +48,5 @@ func (config Config) Verify() error {
|
|||
return errCloneDirectoryUnwritable
|
||||
}
|
||||
|
||||
// TODO: verify RepoList not redundant
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// start a regular background tasks
|
||||
// start a regular background tasks.
|
||||
func start(duration time.Duration, fn func(), name string) {
|
||||
for {
|
||||
time.Sleep(duration)
|
||||
|
@ -17,7 +17,7 @@ func start(duration time.Duration, fn func(), name string) {
|
|||
}
|
||||
}
|
||||
|
||||
// Launch all repo update background tasks
|
||||
// Launch all repo update background tasks.
|
||||
func Launch(duration time.Duration, config []git.RepoConfig) {
|
||||
var counter int
|
||||
for _, content := range config {
|
||||
|
|
|
@ -39,7 +39,6 @@ func (config RepoConfig) fullClone() {
|
|||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (config RepoConfig) Update() {
|
||||
|
|
Loading…
Reference in a new issue