projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
16306: Packaging dev cycle, type=production support in lib/boot.
[arvados.git]
/
lib
/
boot
/
postgresql.go
diff --git
a/lib/boot/postgresql.go
b/lib/boot/postgresql.go
index 34ccf04a88dbd68a7822cc75b13da972e32844ee..199a93a9d5f0724df73b47b91d73e6e3a2409a72 100644
(file)
--- a/
lib/boot/postgresql.go
+++ b/
lib/boot/postgresql.go
@@
-36,6
+36,10
@@
func (runPostgreSQL) Run(ctx context.Context, fail func(error), super *Superviso
return err
}
+ if super.ClusterType == "production" {
+ return nil
+ }
+
iamroot := false
if u, err := user.Current(); err != nil {
return fmt.Errorf("user.Current(): %s", err)