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. |
||
|---|---|---|
| .. | ||
| postgresql.go | ||
| postgresql_test.go | ||
| types.go | ||
| types_test.go | ||