mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 10:42:14 +02:00
Fix some errors be ignored (#2290)
Signed-off-by: drivebyer <yang.wu@daocloud.io>
This commit is contained in:
@@ -241,12 +241,11 @@ func (c *Cluster) initUsers() error {
|
||||
}
|
||||
|
||||
// Create creates the new kubernetes objects associated with the cluster.
|
||||
func (c *Cluster) Create() error {
|
||||
func (c *Cluster) Create() (err error) {
|
||||
c.mu.Lock()
|
||||
defer c.mu.Unlock()
|
||||
var (
|
||||
err error
|
||||
|
||||
var (
|
||||
service *v1.Service
|
||||
ep *v1.Endpoints
|
||||
ss *appsv1.StatefulSet
|
||||
|
||||
Reference in New Issue
Block a user