(cluster *apiv1.Cluster, tbsSlice []apiv1.TablespaceConfiguration)
| 909 | }) |
| 910 | |
| 911 | func addTablespaces(cluster *apiv1.Cluster, tbsSlice []apiv1.TablespaceConfiguration) { |
| 912 | updated := cluster.DeepCopy() |
| 913 | updated.Spec.Tablespaces = append(updated.Spec.Tablespaces, tbsSlice...) |
| 914 | |
| 915 | err := env.Client.Patch(env.Ctx, updated, client.MergeFrom(cluster)) |
| 916 | Expect(err).ToNot(HaveOccurred()) |
| 917 | } |
| 918 | |
| 919 | func updateTablespaceOwner(cluster *apiv1.Cluster, tablespaceName, newOwner string) { |
| 920 | updated := cluster.DeepCopy() |
no test coverage detected