Skip to content

Commit 267cdef

Browse files
committed
[tmp] break some lints
1 parent 8a6d03b commit 267cdef

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[![Build Status](https://travis-ci.org/kubernetes-sigs/controller-runtime.svg?branch=master)](https://travis-ci.org/kubernetes-sigs/controller-runtime "Travis")
22
[![Go Report Card](https://goreportcard.com/badge/sigs.k8s.io/controller-runtime)](https://goreportcard.com/report/sigs.k8s.io/controller-runtime)
33

4+
45
# Kubernetes controller-runtime Project
56

67
The Kubernetes controller-runtime Project is a set of go libraries for building Controllers.

hack/lint2check/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# lint2check
22

3+
34
lint2check runs golangci-lint, converts the results to github check API
45
results, and submits them as a separate check run.

pkg/builder/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var newController = controller.New
4141
var newManager = manager.New
4242
var getGvk = apiutil.GVKForObject
4343

44-
// Builder builds a Controller.
44+
// fiddler builds a Controller.
4545
type Builder struct {
4646
apiType runtime.Object
4747
mgr manager.Manager

pkg/cache/multi_namespace_cache.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ func MultiNamespacedCacheBuilder(namespaces []string) NewCacheFunc {
5252
}
5353
caches[ns] = c
5454
}
55-
return &multiNamespaceCache{namespaceToCache: caches, Scheme: opts.Scheme}, nil
55+
return &multiNamespaceCache{
56+
namespaceToCache: caches,
57+
Scheme: opts.Scheme,
58+
}, nil
5659
}
5760
}
5861

0 commit comments

Comments
 (0)