Skip to content

Instantly share code, notes, and snippets.

@stevekuznetsov
Created October 1, 2015 12:45
Show Gist options
  • Save stevekuznetsov/19169004e7d6dd2f8e31 to your computer and use it in GitHub Desktop.
Save stevekuznetsov/19169004e7d6dd2f8e31 to your computer and use it in GitHub Desktop.
go vet w/ godep & output
$ GOPATH=$PWD/_output/local/go:$GOPATH/src/github.com/openshift/origin/Godeps/_workspace/:$GOPATH go tool vet pkg/
pkg/api/graph/graph.go:85: github.com/gonum/graph/concrete.Edge composite literal uses unkeyed fields
pkg/api/graph/graph.go:653: arg edgeKind for printf verb %d of wrong type: string
pkg/auth/ldaputil/query_test.go:188: possible formatting directive in Error call
pkg/authorization/cache/clusterpolicy.go:27: NewReadOnlyClusterPolicyCache returns Lock by value: cache.readOnlyClusterPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicy.go:106: newReadOnlyClusterPolicies passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicybinding.go:27: NewReadOnlyClusterPolicyBindingCache returns Lock by value: cache.readOnlyClusterPolicyBindingCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicybinding.go:106: newReadOnlyClusterPolicyBindings passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/policy.go:27: NewReadOnlyPolicyCache returns Lock by value: cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/policy.go:121: newReadOnlyPolicies passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/policybinding.go:27: NewReadOnlyPolicyBindingCache returns Lock by value: cache.readOnlyPolicyBindingCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/policybinding.go:121: newReadOnlyPolicyBindings passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/readonlycache.go:67: LastSyncResourceVersion passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/readonlycache.go:78: ReadOnlyPolicies passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/readonlycache.go:82: ReadOnlyPolicyBindings passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/readonlycache.go:86: ReadOnlyClusterPolicies passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/readonlycache.go:90: ReadOnlyClusterPolicyBindings passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/readonlycache.go:106: GetPolicy passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/readonlycache.go:125: ListPolicyBindings passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/readonlycache.go:144: GetClusterPolicy passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/readonlycache.go:153: ListClusterPolicyBindings passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicy_test.go:17: beforeTestingSetup_readonlyclusterpolicycache returns Lock by value: cache.readOnlyClusterPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicybinding_test.go:17: beforeTestingSetup_readonlyclusterpolicybindingcache returns Lock by value: cache.readOnlyClusterPolicyBindingCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/policy_test.go:17: beforeTestingSetup_readonlypolicycache returns Lock by value: cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/policybinding_test.go:17: beforeTestingSetup_readonlypolicybindingcache returns Lock by value: cache.readOnlyPolicyBindingCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/cmd/cli/cmd/request_project.go:55: no formatting directive in Sprintf call
pkg/cmd/cli/cmd/startbuild.go:396: arg &list.Items[i].Namespace for printf verb %s of wrong type: *string
pkg/cmd/cli/cmd/volume.go:732: arg source.ISCSI.Lun for printf verb %s of wrong type: int
pkg/cmd/experimental/diagnostics/client.go:37: github.com/openshift/origin/pkg/diagnostics/client.ConfigContext composite literal uses unkeyed fields
pkg/cmd/experimental/diagnostics/cluster.go:49: github.com/openshift/origin/pkg/diagnostics/cluster.NodeDefinitions composite literal uses unkeyed fields
pkg/cmd/experimental/diagnostics/cluster.go:51: github.com/openshift/origin/pkg/diagnostics/cluster.ClusterRegistry composite literal uses unkeyed fields
pkg/cmd/experimental/diagnostics/cluster.go:53: github.com/openshift/origin/pkg/diagnostics/cluster.ClusterRouter composite literal uses unkeyed fields
pkg/cmd/experimental/diagnostics/cluster.go:55: github.com/openshift/origin/pkg/diagnostics/cluster.ClusterRoles composite literal uses unkeyed fields
pkg/cmd/experimental/diagnostics/host.go:62: github.com/openshift/origin/pkg/diagnostics/systemd.AnalyzeLogs composite literal uses unkeyed fields
pkg/cmd/experimental/diagnostics/host.go:65: github.com/openshift/origin/pkg/diagnostics/systemd.UnitStatus composite literal uses unkeyed fields
pkg/cmd/experimental/diagnostics/host.go:69: github.com/openshift/origin/pkg/diagnostics/host.MasterConfigCheck composite literal uses unkeyed fields
pkg/cmd/experimental/diagnostics/host.go:74: github.com/openshift/origin/pkg/diagnostics/host.NodeConfigCheck composite literal uses unkeyed fields
pkg/cmd/infra/deployer/deployer.go:186: k8s.io/kubernetes/pkg/kubectl.ScalePrecondition composite literal uses unkeyed fields
pkg/cmd/server/origin/asset.go:113: unresolvable package for assetfs.AssetFS literal
pkg/cmd/server/origin/handlers.go:146: k8s.io/kubernetes/pkg/apiserver.APIRequestInfoResolver composite literal uses unkeyed fields
pkg/cmd/server/origin/master_config.go:341: k8s.io/kubernetes/pkg/apiserver.APIRequestInfoResolver composite literal uses unkeyed fields
pkg/cmd/util/clientcmd/factory.go:54: k8s.io/kubernetes/pkg/kubectl.ShortcutExpander composite literal uses unkeyed fields
pkg/cmd/util/clientcmd/factory.go:75: k8s.io/kubernetes/pkg/kubectl.OutputVersionMapper composite literal uses unkeyed fields
pkg/config/cmd/cmd.go:44: k8s.io/kubernetes/pkg/kubectl/resource.Mapper composite literal uses unkeyed fields
pkg/deploy/scaler/scale.go:33: k8s.io/kubernetes/pkg/kubectl.ScalePrecondition composite literal uses unkeyed fields
pkg/deploy/scaler/scale.go:67: k8s.io/kubernetes/pkg/kubectl.ControllerScaleError composite literal uses unkeyed fields
pkg/deploy/scaler/scale.go:77: k8s.io/kubernetes/pkg/kubectl.ControllerScaleError composite literal uses unkeyed fields
pkg/deploy/strategy/recreate/recreate.go:149: k8s.io/kubernetes/pkg/kubectl.ScalePrecondition composite literal uses unkeyed fields
pkg/diagnostics/cluster/node_definitions.go:75: github.com/openshift/origin/pkg/diagnostics/types.DiagnosticError composite literal uses unkeyed fields
pkg/diagnostics/cluster/node_definitions.go:77: github.com/openshift/origin/pkg/diagnostics/types.DiagnosticError composite literal uses unkeyed fields
pkg/diagnostics/cluster/router.go:105: github.com/openshift/origin/pkg/diagnostics/types.DiagnosticError composite literal uses unkeyed fields
pkg/diagnostics/cluster/router.go:107: github.com/openshift/origin/pkg/diagnostics/types.DiagnosticError composite literal uses unkeyed fields
pkg/diagnostics/types/diagnostic.go:125: github.com/openshift/origin/pkg/diagnostics/log.Entry composite literal uses unkeyed fields
pkg/diagnostics/types/diagnostic.go:133: github.com/openshift/origin/pkg/diagnostics/log.Entry composite literal uses unkeyed fields
pkg/diagnostics/types/diagnostic.go:141: github.com/openshift/origin/pkg/diagnostics/log.Entry composite literal uses unkeyed fields
pkg/generate/app/app_test.go:317: ExampleGenerateSimpleDockerApp refers to unknown identifier: GenerateSimpleDockerApp
pkg/generate/app/cmd/newapp_test.go:806: missing argument for Errorf("%s"): format reads arg 1, have only 0 args
pkg/generate/app/cmd/newapp_test.go:811: arg expectedPort for printf verb %s of wrong type: int
pkg/project/util/util.go:65: unreachable code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment