Skip to content

Instantly share code, notes, and snippets.

@stevekuznetsov
Created August 19, 2015 17:44
Show Gist options
  • Save stevekuznetsov/4fcaa9d95a3c4f8c992c to your computer and use it in GitHub Desktop.
Save stevekuznetsov/4fcaa9d95a3c4f8c992c to your computer and use it in GitHub Desktop.
go vet results 8/19 1:45pm
FAILURE: go vet -printf had errors:
./pkg/build/generator/generator.go:205: arg bc.Status.LastVersion for printf verb %s of wrong type: int
SUCCESS: go vet -methods had no errors
SUCCESS: go vet -structtags had no errors
FAILURE: go vet -composites had errors:
./pkg/auth/oauth/external/handler_test.go:20: github.com/openshift/origin/pkg/auth/server/csrf.FakeCSRF composite literal uses unkeyed fields
./pkg/auth/oauth/external/handler_test.go:41: github.com/openshift/origin/pkg/auth/server/csrf.FakeCSRF composite literal uses unkeyed fields
./pkg/auth/oauth/external/handler_test.go:68: github.com/openshift/origin/pkg/auth/server/csrf.FakeCSRF composite literal uses unkeyed fields
./pkg/auth/oauth/external/handler_test.go:97: github.com/openshift/origin/pkg/auth/server/csrf.FakeCSRF composite literal uses unkeyed fields
./pkg/auth/oauth/external/handler_test.go:126: github.com/openshift/origin/pkg/auth/server/csrf.FakeCSRF composite literal uses unkeyed fields
./pkg/authorization/registry/clusterrole/proxy/proxy.go:20: github.com/openshift/origin/pkg/authorization/registry/role/policybased.VirtualStorage composite literal uses unkeyed fields
./pkg/build/controller/factory/factory_test.go:31: github.com/openshift/origin/pkg/controller.Retry composite literal uses unkeyed fields
./pkg/build/controller/factory/factory_test.go:54: github.com/openshift/origin/pkg/controller.Retry composite literal uses unkeyed fields
./pkg/cmd/cli/cmd/importimage.go:127: github.com/openshift/origin/pkg/cmd/cli/describe.ImageStreamDescriber composite literal uses unkeyed fields
./pkg/cmd/cli/cmd/status.go:71: github.com/openshift/origin/pkg/cmd/cli/describe.ProjectStatusDescriber composite literal uses unkeyed fields
./pkg/cmd/cli/cmd/status.go:93: github.com/openshift/origin/pkg/cmd/cli/describe.ProjectStatusDescriber composite literal uses unkeyed fields
./pkg/cmd/server/origin/master_config.go:516: github.com/openshift/origin/pkg/serviceaccounts.ClientLookupTokenRetriever composite literal uses unkeyed fields
./pkg/security/uidallocator/allocator_test.go:38: github.com/openshift/origin/pkg/security/uid.Block composite literal uses unkeyed fields
./pkg/security/uidallocator/allocator_test.go:56: github.com/openshift/origin/pkg/security/uid.Block composite literal uses unkeyed fields
./pkg/security/uidallocator/allocator_test.go:59: github.com/openshift/origin/pkg/security/uid.Block composite literal uses unkeyed fields
./plugins/route/allocation/simple/plugin_test.go:182: github.com/openshift/origin/pkg/route/controller/allocation.RouteAllocationControllerFactory composite literal uses unkeyed fields
./test/integration/login_test.go:104: github.com/openshift/origin/pkg/cmd/cli/cmd.WhoAmIOptions composite literal uses unkeyed fields
./test/integration/login_test.go:113: github.com/openshift/origin/pkg/cmd/cli/cmd.WhoAmIOptions composite literal uses unkeyed fields
SUCCESS: go vet -asmdecl had no errors
SUCCESS: go vet -assign had no errors
SUCCESS: go vet -atomic had no errors
SUCCESS: go vet -bool had no errors
FAILURE: go vet -buildtags had errors:
./test/integration/leaderlease_test.go:1: invalid non-alphanumeric build constraint: integration,!no-etcd
./test/integration/web_console_access_test.go:1: invalid non-alphanumeric build constraint: integration,!no-etcd
SUCCESS: go vet -copylocks had no errors
SUCCESS: go vet -nilfunc had no errors
SUCCESS: go vet -rangeloops had no errors
SUCCESS: go vet -unreachable had no errors
FAILURE: go vet -shadow had errors:
./pkg/auth/userregistry/identitymapper/provision.go:69: declaration of err shadows declaration at ./pkg/auth/userregistry/identitymapper/provision.go:66:
./pkg/cmd/admin/prune/images.go:342: declaration of err shadows declaration at ./pkg/cmd/admin/prune/images.go:293:
./pkg/cmd/cli/cmd/project.go:190: declaration of err shadows declaration at ./pkg/cmd/cli/cmd/project.go:180:
./pkg/cmd/cli/cmd/rollback.go:225: declaration of err shadows declaration at ./pkg/cmd/cli/cmd/rollback.go:180:
./pkg/cmd/cli/cmd/startbuild.go:235: declaration of err shadows declaration at ./pkg/cmd/cli/cmd/startbuild.go:215:
./pkg/cmd/util/clientcmd/factory.go:80: declaration of client shadows declaration at ./pkg/cmd/util/clientcmd/factory.go:18:
./pkg/dockerregistry/server/auth.go:128: declaration of client shadows declaration at ./pkg/dockerregistry/server/auth.go:16:
./pkg/generate/app/cmd/newapp.go:786: declaration of err shadows declaration at ./pkg/generate/app/cmd/newapp.go:735:
./pkg/image/controller/controller.go:169: declaration of stream shadows declaration at ./pkg/image/controller/controller.go:159:
./pkg/image/registry/image/etcd/etcd_test.go:278: declaration of image shadows declaration at ./pkg/image/registry/image/etcd/etcd_test.go:12:
./pkg/image/registry/image/etcd/etcd_test.go:292: declaration of image shadows declaration at ./pkg/image/registry/image/etcd/etcd_test.go:12:
./pkg/image/registry/image/etcd/etcd_test.go:311: declaration of image shadows declaration at ./pkg/image/registry/image/etcd/etcd_test.go:12:
./pkg/image/registry/image/etcd/etcd_test.go:335: declaration of image shadows declaration at ./pkg/image/registry/image/etcd/etcd_test.go:12:
./pkg/util/leaderlease/leaderlease.go:159: declaration of index shadows declaration at ./pkg/util/leaderlease/leaderlease.go:153:
./test/integration/oauth_htpasswd_test.go:59: declaration of err shadows declaration at ./test/integration/oauth_htpasswd_test.go:20:
SUCCESS: go vet -unsafeptr had no errors
SUCCESS: go vet -unusedresult had no errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment