projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
16306: Merge branch 'master'
[arvados.git]
/
lib
/
boot
/
seed.go
diff --git
a/lib/boot/seed.go
b/lib/boot/seed.go
index 2afccc45b628cc01b00ddac873abdfc4eae20b61..1f6cb764e070af369252cd75a16b12f2666fa0fa 100644
(file)
--- a/
lib/boot/seed.go
+++ b/
lib/boot/seed.go
@@
-20,6
+20,9
@@
func (seedDatabase) Run(ctx context.Context, fail func(error), super *Supervisor
if err != nil {
return err
}
+ if super.ClusterType == "production" {
+ return nil
+ }
err = super.RunProgram(ctx, "services/api", nil, railsEnv, "bundle", "exec", "rake", "db:setup")
if err != nil {
return err