postgres-operator/pkg
Oleksii Kliukin da4cc2705b Use deepcopy to propagate the spec to clusters.
Avoid sharing pointers to the same spec data between the informer
and the clusters. The only catch is that the error field is cleared
during deepcopy, since it is an interface that may contain private
fields that cannot be copied, however, the error is only used when
the manifest is parsed and before it is queued, therefore, we never
refer to that field in the cluster structure.
2018-05-17 16:05:12 +02:00
..
apiserver Merge pull request #240 from zalando-incubator/feature/goreport-improvements 2018-02-22 11:31:08 +01:00
cluster Minor import fix 2018-05-15 16:53:12 +02:00
controller Use deepcopy to propagate the spec to clusters. 2018-05-17 16:05:12 +02:00
spec Use deepcopy to propagate the spec to clusters. 2018-05-17 16:05:12 +02:00
util Address code review by @zerg-junior 2018-05-15 16:50:03 +02:00