mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-09 21:49:33 +02:00
Introduce changes from the PR #200 by @alexeyklyukin
This commit is contained in:
@@ -127,6 +127,10 @@ func (c *Cluster) clusterName() spec.NamespacedName {
|
||||
return util.NameFromMeta(c.ObjectMeta)
|
||||
}
|
||||
|
||||
func (c *Cluster) clusterNamespace() string {
|
||||
return c.ObjectMeta.Namespace
|
||||
}
|
||||
|
||||
func (c *Cluster) teamName() string {
|
||||
// TODO: check Teams API for the actual name (in case the user passes an integer Id).
|
||||
return c.Spec.TeamID
|
||||
|
||||
Reference in New Issue
Block a user