Skip to content

Commit 68c4224

Browse files
committed
undo
1 parent d2929c2 commit 68c4224

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

pkg/cache/cache_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
. "github.com/onsi/ginkgo"
2727
. "github.com/onsi/ginkgo/extensions/table"
2828
. "github.com/onsi/gomega"
29+
2930
corev1 "k8s.io/api/core/v1"
3031
apierrors "k8s.io/apimachinery/pkg/api/errors"
3132
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

pkg/cache/internal/cache_reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type CacheReader struct {
5555
}
5656

5757
// Get checks the indexer for the object and writes a copy of it if found.
58-
func (c *CacheReader) Get(ctx context.Context, key client.ObjectKey, out client.Object) error {
58+
func (c *CacheReader) Get(_ context.Context, key client.ObjectKey, out client.Object) error {
5959
if c.scopeName == apimeta.RESTScopeNameRoot {
6060
key.Namespace = ""
6161
}

pkg/client/apiutil/apimachinery.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
opyright 2018 The Kubernetes Authors.
2+
Copyright 2018 The Kubernetes Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

pkg/client/watch.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ func NewWithWatch(config *rest.Config, options Options) (WithWatch, error) {
3333
if err != nil {
3434
return nil, err
3535
}
36-
3736
dynamicClient, err := dynamic.NewForConfig(config)
3837
if err != nil {
3938
return nil, err
4039
}
41-
4240
return &watchingClient{client: client, dynamic: dynamicClient}, nil
4341
}
4442

0 commit comments

Comments
 (0)