Rename variable from `roleSuperUserAttr` to `roleSuperuserAttr`.

This commit is contained in:
Sean Chittenden 2016-12-12 01:07:26 -08:00
parent 15cd542392
commit b576a3eda1
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ const (
roleNameAttr = "name"
rolePasswordAttr = "password"
roleReplicationAttr = "replication"
roleSuperUserAttr = "superuser"
roleSuperuserAttr = "superuser"
roleValidUntilAttr = "valid_until"
// Deprecated options
@ -78,7 +78,7 @@ func resourcePostgreSQLRole() *schema.Resource {
Description: "How many concurrent connections can be made with this role",
ValidateFunc: validateConnLimit,
},
roleSuperUserAttr: {
roleSuperuserAttr: {
Type: schema.TypeBool,
Optional: true,
Default: false,
@ -150,7 +150,7 @@ func resourcePostgreSQLRoleCreate(d *schema.ResourceData, meta interface{}) erro
sqlKeyEnable string
sqlKeyDisable string
}{
{roleSuperUserAttr, "CREATEDB", "NOCREATEDB"},
{roleSuperuserAttr, "CREATEDB", "NOCREATEDB"},
{roleCreateRoleAttr, "CREATEROLE", "NOCREATEROLE"},
{roleInheritAttr, "INHERIT", "NOINHERIT"},
{roleLoginAttr, "LOGIN", "NOLOGIN"},