Skip to content

Commit

Permalink
fix broken dependency on exported const from githosts.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Jun 25, 2023
1 parent 70cc73e commit fa4b306
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/carlescere/scheduler v0.0.0-20170109141437-ee74d2f83d82
github.com/jonhadfield/githosts-utils v0.0.0-20230625155053-035bb069bc7f
github.com/jonhadfield/githosts-utils v0.0.0-20230625162705-2c17f9405859
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.4
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ github.com/jonhadfield/githosts-utils v0.0.0-20230625141953-c0213d98579f h1:lI0U
github.com/jonhadfield/githosts-utils v0.0.0-20230625141953-c0213d98579f/go.mod h1:tznTL41bW+RwQESdLCYdeR5gZNbR1DdaGw0ZwSJQ6JI=
github.com/jonhadfield/githosts-utils v0.0.0-20230625155053-035bb069bc7f h1:NLbGK2e2SEC+kBHqj67WELwLo0ycb9qz3HZHENXDLfo=
github.com/jonhadfield/githosts-utils v0.0.0-20230625155053-035bb069bc7f/go.mod h1:tznTL41bW+RwQESdLCYdeR5gZNbR1DdaGw0ZwSJQ6JI=
github.com/jonhadfield/githosts-utils v0.0.0-20230625162705-2c17f9405859 h1:zW9U8EwfXP6wnQBjBxEMwoVFVXCltZW6p9oBLvX4xVM=
github.com/jonhadfield/githosts-utils v0.0.0-20230625162705-2c17f9405859/go.mod h1:tznTL41bW+RwQESdLCYdeR5gZNbR1DdaGw0ZwSJQ6JI=
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
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ func displayStartupConfig() {
if glProjectMinAccessLevel := os.Getenv("GITLAB_PROJECT_MIN_ACCESS_LEVEL"); glProjectMinAccessLevel != "" {
logger.Printf("GitLab Project Minimum Access Level: %s", glProjectMinAccessLevel)
} else {
logger.Printf("GitLab Project Minimum Access Level: %d", githosts.DefaultMinimumProjectAccessLevel)

logger.Printf("GitLab Project Minimum Access Level: %d", githosts.GitlabDefaultMinimumProjectAccessLevel)
}
if glBackups := os.Getenv("GITLAB_BACKUPS"); glBackups != "" {
logger.Printf("GitLab backups to keep: %s", glBackups)
Expand Down

0 comments on commit fa4b306

Please sign in to comment.