Skip to content

Commit 0d999ed

Browse files
committed
Change default admin group name
1 parent 485e429 commit 0d999ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/cmd/api/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type userSyncConfig struct {
6969

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

7575
// costConfig is the configuration for the cost service

internal/usersync/usersync_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
func TestSync(t *testing.T) {
2424
const (
2525
domain = "example.com"
26-
adminGroupPrefix = "console-admins"
26+
adminGroupPrefix = "nais-admins"
2727
numRunsToPersist = 5
2828
)
2929

0 commit comments

Comments
 (0)