Skip to content

Commit 1e64ae7

Browse files
authored
Fix some errors be ignored (zalando#2290)
Signed-off-by: drivebyer <[email protected]>
1 parent a9c6d46 commit 1e64ae7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/cluster/cluster.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,11 @@ func (c *Cluster) initUsers() error {
241241
}
242242

243243
// Create creates the new kubernetes objects associated with the cluster.
244-
func (c *Cluster) Create() error {
244+
func (c *Cluster) Create() (err error) {
245245
c.mu.Lock()
246246
defer c.mu.Unlock()
247-
var (
248-
err error
249247

248+
var (
250249
service *v1.Service
251250
ep *v1.Endpoints
252251
ss *appsv1.StatefulSet

0 commit comments

Comments
 (0)