Skip to content

Commit 58c9cd9

Browse files
committed
disable metalinter goimports because it is broken (failing on files that haven't changed their imports)
1 parent 8409bdd commit 58c9cd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hack/verify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ gometalinter.v2 --disable-all \
3535
--enable=structcheck \
3636
--enable=golint \
3737
--enable=deadcode \
38-
--enable=goimports \
3938
--enable=errcheck \
4039
--enable=varcheck \
4140
--enable=goconst \
@@ -52,6 +51,7 @@ gometalinter.v2 --disable-all \
5251
--skip=atomic \
5352
./pkg/...
5453
# TODO: Enable these as we fix them to make them pass
54+
# --enable=goimports \
5555
# --enable=gosec \
5656
# --enable=maligned \
5757
# --enable=safesql \

pkg/builder/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var newController = controller.New
3838
var newManager = manager.New
3939
var getGvk = apiutil.GVKForObject
4040

41-
// Builder builds an Application ControllerManagedBy (e.g. Operator) and returns a manager.Manager to start it.
41+
// Builder builds a Controller.
4242
type Builder struct {
4343
apiType runtime.Object
4444
mgr manager.Manager

0 commit comments

Comments
 (0)