Skip to content

Commit b414db7

Browse files
committed
example/memcached-operator: Run goftm to format
1 parent ccdeeaf commit b414db7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

example/memcached-operator/handler.go.tmpl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package stub
22

33
import (
4+
"context"
45
"fmt"
56
"reflect"
6-
"context"
77

88
v1alpha1 "github.com/example-inc/memcached-operator/pkg/apis/cache/v1alpha1"
99

@@ -18,8 +18,8 @@ import (
1818

1919
func NewHandler(m *Metrics) sdk.Handler {
2020
return &Handler{
21-
metrics: m,
22-
}
21+
metrics: m,
22+
}
2323
}
2424

2525
type Metrics struct {
@@ -179,4 +179,3 @@ func RegisterOperatorMetrics() (*Metrics, error) {
179179
}
180180
return &Metrics{operatorErrors: operatorErrors}, nil
181181
}
182-

0 commit comments

Comments
 (0)