Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jille committed Jan 25, 2023
1 parent bf8b432 commit ef4644f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion privileges.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func fetchTypePrivileges(ctx context.Context, conn *pgx.Conn, database string, i
for grantable, ps := range tmp2 {
privs = append(privs, GenericPrivilege{
Roles: []string{grantee},
Types: []string{fqtn},
Types: []string{fqtn},
Privileges: ps.ListOrAll("types"),
Grantable: grantable,
})
Expand Down
2 changes: 1 addition & 1 deletion schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Config struct {
// LanguagePrivileges []GenericPrivilege `yaml:"language_privileges,omitempty"`
// LargeObjectPrivileges []GenericPrivilege `yaml:"large_object_privileges,omitempty"`
// TablespacePrivileges []GenericPrivilege `yaml:"tablespace_privileges,omitempty"`
TypePrivileges []GenericPrivilege `yaml:"type_privileges,omitempty"`
TypePrivileges []GenericPrivilege `yaml:"type_privileges,omitempty"`
}

func (c Config) GetIgnoreSuperuserGrants() bool {
Expand Down

0 comments on commit ef4644f

Please sign in to comment.