Skip to content

Commit 5ac194e

Browse files
authored
Merge pull request kubernetes#72435 from bart0sh/PR0051-kubeadm-fix-package-name
kubeadm: fix incorrect package name in idempotency_test.go
2 parents f83bb59 + 01c9e67 commit 5ac194e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmd/kubeadm/app/util/apiclient/idempotency_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package apiclient_test
17+
package apiclient
1818

1919
import (
2020
"testing"
2121

2222
"k8s.io/api/core/v1"
2323
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2424
"k8s.io/client-go/kubernetes/fake"
25-
"k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient"
2625
kubeletapis "k8s.io/kubernetes/pkg/kubelet/apis"
2726
)
2827

@@ -68,7 +67,7 @@ func TestPatchNodeNonErrorCases(t *testing.T) {
6867
if err != nil {
6968
t.Fatalf("failed to create node to fake client: %v", err)
7069
}
71-
conditionFunction := apiclient.PatchNodeOnce(client, tc.lookupName, func(node *v1.Node) {
70+
conditionFunction := PatchNodeOnce(client, tc.lookupName, func(node *v1.Node) {
7271
node.Annotations = map[string]string{
7372
"updatedBy": "test",
7473
}

0 commit comments

Comments
 (0)