Skip to content

Commit

Permalink
Fix some errors be ignored (#2290)
Browse files Browse the repository at this point in the history
Signed-off-by: drivebyer <[email protected]>
  • Loading branch information
drivebyer authored Apr 17, 2023
1 parent a9c6d46 commit 1e64ae7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e64ae7

Please sign in to comment.