ALLOWED_REPOS => ALLOWED_USERS
This commit is contained in:
parent
f270be5992
commit
0838dffc81
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ type config struct {
|
|||
|
||||
func parseConfig() (c config) {
|
||||
var allowedUsersStr string
|
||||
if allowedUsersStr = os.Getenv("ALLOWED_REPOS"); len(allowedUsersStr) == 0 {
|
||||
log.Fatal("ALLOWED_REPOS is nil")
|
||||
if allowedUsersStr = os.Getenv("ALLOWED_USERS"); len(allowedUsersStr) == 0 {
|
||||
log.Fatal("ALLOWED_USERS is nil")
|
||||
}
|
||||
c.allowedUsers = strings.Split(allowedUsersStr, ",")
|
||||
|
||||
|
|
Loading…
Reference in a new issue