projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16306: Merge branch 'master'
[arvados.git]
/
lib
/
boot
/
postgresql.go
diff --git
a/lib/boot/postgresql.go
b/lib/boot/postgresql.go
index fc23eb91320c4c8817f35c90503bfa9cd648711e..e45c4e16869f47043cc3637afe1f14ca7d57c553 100644
(file)
--- a/
lib/boot/postgresql.go
+++ b/
lib/boot/postgresql.go
@@
-65,7
+65,7
@@
func (runPostgreSQL) Run(ctx context.Context, fail func(error), super *Superviso
if err != nil {
return fmt.Errorf("user.Lookup(\"postgres\"): %s", err)
}
if err != nil {
return fmt.Errorf("user.Lookup(\"postgres\"): %s", err)
}
- postgresU
id
, err := strconv.Atoi(postgresUser.Uid)
+ postgresU
ID
, err := strconv.Atoi(postgresUser.Uid)
if err != nil {
return fmt.Errorf("user.Lookup(\"postgres\"): non-numeric uid?: %q", postgresUser.Uid)
}
if err != nil {
return fmt.Errorf("user.Lookup(\"postgres\"): non-numeric uid?: %q", postgresUser.Uid)
}
@@
-81,7
+81,7
@@
func (runPostgreSQL) Run(ctx context.Context, fail func(error), super *Superviso
if err != nil {
return err
}
if err != nil {
return err
}
- err = os.Chown(datadir, postgresU
id
, 0)
+ err = os.Chown(datadir, postgresU
ID
, 0)
if err != nil {
return err
}
if err != nil {
return err
}