Skip to content

Commit 9c68a3b

Browse files
committed
lint
1 parent 809e7d3 commit 9c68a3b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

utils/utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func CallGetAll(obj interface{}) (reflect.Value, error) {
6060
method := reflect.ValueOf(obj).MethodByName("GetAll")
6161
if !method.IsValid() {
6262
return result, fmt.Errorf("GetAll() method not found for %v. "+
63-
"Please file a bug with Kong Inc.", reflect.ValueOf(obj).Type())
63+
"Please file a bug with Kong Inc", reflect.ValueOf(obj).Type())
6464
}
6565
entities := method.Call([]reflect.Value{})[0].Interface()
6666
result = reflect.ValueOf(entities)

validate/validate.go

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ type Validator struct {
1919
rbacResourcesOnly bool
2020
}
2121

22-
func NewValidator(ctx context.Context, ks *state.KongState, client *kong.Client, parallelism int, rbacResourcesOnly bool) *Validator {
22+
func NewValidator(
23+
ctx context.Context,
24+
ks *state.KongState,
25+
client *kong.Client,
26+
parallelism int,
27+
rbacResourcesOnly bool,
28+
) *Validator {
2329
return &Validator{
2430
ctx: ctx,
2531
state: ks,

0 commit comments

Comments
 (0)