Skip to content

Commit

Permalink
typo/api change in cadvisor / updated unwanted-dependencies.json
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
  • Loading branch information
dims committed Oct 31, 2023
1 parent 8b9fc32 commit bd233a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
21 changes: 2 additions & 19 deletions hack/unwanted-dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,14 @@
"unwantedReferences": {
"cloud.google.com/go": [
"cloud.google.com/go/compute",
"github.com/google/cadvisor",
"google.golang.org/genproto"
],
"cloud.google.com/go/bigquery": [
"cloud.google.com/go/storage",
"google.golang.org/genproto"
],
"cloud.google.com/go/compute": [
"cloud.google.com/go/compute/metadata",
"github.com/google/cadvisor",
"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc",
"golang.org/x/oauth2",
"google.golang.org/genproto",
Expand All @@ -93,9 +92,6 @@
"cloud.google.com/go/firestore": [
"google.golang.org/genproto"
],
"cloud.google.com/go/storage": [
"cloud.google.com/go"
],
"github.com/GoogleCloudPlatform/k8s-cloud-provider": [
"k8s.io/kubernetes",
"k8s.io/legacy-cloud-providers"
Expand All @@ -111,7 +107,6 @@
"github.com/containerd/cgroups",
"github.com/containerd/ttrpc",
"github.com/containerd/typeurl",
"github.com/gogo/googleapis",
"github.com/google/cadvisor",
"github.com/grpc-ecosystem/go-grpc-middleware",
"go.etcd.io/etcd/api/v3",
Expand Down Expand Up @@ -148,10 +143,7 @@
"google.golang.org/api"
],
"github.com/googleapis/gax-go/v2": [
"cloud.google.com/go",
"cloud.google.com/go/bigquery",
"cloud.google.com/go/compute",
"cloud.google.com/go/storage"
"cloud.google.com/go/compute"
],
"github.com/gregjones/httpcache": [
"k8s.io/client-go"
Expand Down Expand Up @@ -182,7 +174,6 @@
],
"github.com/pkg/errors": [
"github.com/Microsoft/hcsshim",
"github.com/aws/aws-sdk-go",
"github.com/containerd/continuity",
"github.com/containerd/fifo",
"github.com/containerd/go-runc",
Expand All @@ -202,7 +193,6 @@
"k8s.io/legacy-cloud-providers"
],
"go.opencensus.io": [
"cloud.google.com/go",
"cloud.google.com/go/compute",
"github.com/Microsoft/hcsshim",
"google.golang.org/api"
Expand All @@ -212,10 +202,7 @@
"github.com/google/cel-go"
],
"google.golang.org/api": [
"cloud.google.com/go",
"cloud.google.com/go/bigquery",
"cloud.google.com/go/compute",
"cloud.google.com/go/storage",
"github.com/GoogleCloudPlatform/k8s-cloud-provider",
"github.com/googleapis/gax-go/v2",
"k8s.io/kubernetes",
Expand All @@ -232,13 +219,9 @@
"google.golang.org/grpc"
],
"google.golang.org/genproto": [
"cloud.google.com/go",
"cloud.google.com/go/bigquery",
"cloud.google.com/go/compute",
"cloud.google.com/go/storage",
"github.com/container-storage-interface/spec",
"github.com/containerd/ttrpc",
"github.com/google/cadvisor",
"github.com/googleapis/gax-go/v2",
"github.com/grpc-ecosystem/go-grpc-middleware",
"github.com/grpc-ecosystem/grpc-gateway",
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubelet/cadvisor/cadvisor_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots [
}

duration := maxHousekeepingInterval
housekeepingConfig := manager.HouskeepingConfig{
housekeepingConfig := manager.HousekeepingConfig{
Interval: &duration,
AllowDynamic: pointer.Bool(allowDynamicHousekeeping),
}
Expand Down

0 comments on commit bd233a2

Please sign in to comment.