Skip to content

Commit

Permalink
Reformat code with gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
anatol committed Oct 9, 2024
1 parent 6d50fbb commit 868c84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urls.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func parseMirrorlistURLs(file *os.File) ([]string, error) {
}

func (r *Repo) getMirrorlistURLs() ([]string, error) {
const MirrorlistCheckInterval = 5*time.Second
const MirrorlistCheckInterval = 5 * time.Second

if time.Since(r.LastMirrorlistCheck) < MirrorlistCheckInterval {
return r.URLs, nil
Expand Down

0 comments on commit 868c84c

Please sign in to comment.