Skip to content

Commit

Permalink
Fixing error and format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-M committed Oct 12, 2017
1 parent 8055746 commit 6ad8640
Show file tree
Hide file tree
Showing 6 changed files with 206 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/postgres-operator.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

182 changes: 182 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ func (c *Cluster) initHumanUsers() error {
for _, username := range teamMembers {
flags := []string{constants.RoleFlagLogin}
if c.OpConfig.EnableTeamsSuperuser {
flags = flags.append(constants.RoleFlagSuperuser)
flags = append(flags, constants.RoleFlagSuperuser)
}

memberOf := []string{c.OpConfig.PamRoleName}
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type Config struct {
DebugLogging bool `name:"debug_logging" default:"true"`
EnableDBAccess bool `name:"enable_database_access" default:"true"`
EnableTeamsAPI bool `name:"enable_teams_api" default:"true"`
EnableTeamsSuperuser bool `name:"enable_teams_superuser" default: "false"`
EnableTeamsSuperuser bool `name:"enable_teams_superuser" default:"false"`
EnableLoadBalancer bool `name:"enable_load_balancer" default:"true"`
MasterDNSNameFormat stringTemplate `name:"master_dns_name_format" default:"{cluster}.{team}.{hostedzone}"`
ReplicaDNSNameFormat stringTemplate `name:"replica_dns_name_format" default:"{cluster}-repl.{team}.{hostedzone}"`
Expand Down

0 comments on commit 6ad8640

Please sign in to comment.