Skip to content

Commit

Permalink
Change default admin group name
Browse files Browse the repository at this point in the history
  • Loading branch information
thokra-nav committed Feb 9, 2024
1 parent 485e429 commit 0d999ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/api/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type userSyncConfig struct {

// AdminGroupPrefix The prefix of the admin group email address.
// TODO: change default value to nais-admins (or something similar) and rename existing groups
AdminGroupPrefix string `env:"USERSYNC_ADMIN_GROUP_PREFIX,default=console-admins"`
AdminGroupPrefix string `env:"USERSYNC_ADMIN_GROUP_PREFIX,default=nais-admins"`
}

// costConfig is the configuration for the cost service
Expand Down
2 changes: 1 addition & 1 deletion internal/usersync/usersync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
func TestSync(t *testing.T) {
const (
domain = "example.com"
adminGroupPrefix = "console-admins"
adminGroupPrefix = "nais-admins"
numRunsToPersist = 5
)

Expand Down

0 comments on commit 0d999ed

Please sign in to comment.