update code-gen

This commit is contained in:
Felix Kunde 2020-02-19 15:55:05 +01:00
parent 66129335fd
commit 2afaa59719
1 changed files with 5 additions and 0 deletions

View File

@ -460,6 +460,11 @@ func (in *PostgresSpec) DeepCopyInto(out *PostgresSpec) {
out.Volume = in.Volume
in.Patroni.DeepCopyInto(&out.Patroni)
out.Resources = in.Resources
if in.EnableConnectionPool != nil {
in, out := &in.EnableConnectionPool, &out.EnableConnectionPool
*out = new(bool)
**out = **in
}
if in.ConnectionPool != nil {
in, out := &in.ConnectionPool, &out.ConnectionPool
*out = new(ConnectionPool)