Skip to content

Commit

Permalink
go mod tidy and lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Nov 6, 2022
1 parent f489cdc commit dc12e87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/jonhadfield/githosts-utils v0.0.0-20221102204933-83453de889e0 h1:vZ0mWiR/D0IdOlPq7yM9YpwszzKAKsVTFqf95y5kzbk=
github.com/jonhadfield/githosts-utils v0.0.0-20221102204933-83453de889e0/go.mod h1:yXwdUnBNqj62M8ldG8DiQbhrSQNrV/pzKLO752V23lk=
github.com/jonhadfield/githosts-utils v0.0.0-20221104200203-77f9149a7059 h1:U0z1TGiyenWTyAKeh0wjX1B+p+Uamer5q/q0elFflcU=
github.com/jonhadfield/githosts-utils v0.0.0-20221104200203-77f9149a7059/go.mod h1:yXwdUnBNqj62M8ldG8DiQbhrSQNrV/pzKLO752V23lk=
github.com/jonhadfield/githosts-utils v0.0.0-20221106084654-59952ec6072a h1:/vRbCNRDUwUmQ5BuTDGS0K2qwiarebxFWHHG5gSmZjs=
github.com/jonhadfield/githosts-utils v0.0.0-20221106084654-59952ec6072a/go.mod h1:tOFZwyyx/mD8POsUXB5c9sbdSDw3OybSE3O6QDBiEMc=
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func getBackupInterval() int {
if backupIntervalEnv != "" {
backupInterval, intervalConversionErr = strconv.Atoi(backupIntervalEnv)
if intervalConversionErr != nil {
logger.Fatal(fmt.Sprintf("%s must be a number.", envGitBackupInterval))
logger.Fatalf("%s must be a number.", envGitBackupInterval)
}
}

Expand Down

0 comments on commit dc12e87

Please sign in to comment.