File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
cmd/kubeadm/app/util/apiclient Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,14 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
- package apiclient_test
17
+ package apiclient
18
18
19
19
import (
20
20
"testing"
21
21
22
22
"k8s.io/api/core/v1"
23
23
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
24
24
"k8s.io/client-go/kubernetes/fake"
25
- "k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient"
26
25
kubeletapis "k8s.io/kubernetes/pkg/kubelet/apis"
27
26
)
28
27
@@ -68,7 +67,7 @@ func TestPatchNodeNonErrorCases(t *testing.T) {
68
67
if err != nil {
69
68
t .Fatalf ("failed to create node to fake client: %v" , err )
70
69
}
71
- conditionFunction := apiclient . PatchNodeOnce (client , tc .lookupName , func (node * v1.Node ) {
70
+ conditionFunction := PatchNodeOnce (client , tc .lookupName , func (node * v1.Node ) {
72
71
node .Annotations = map [string ]string {
73
72
"updatedBy" : "test" ,
74
73
}
You can’t perform that action at this time.
0 commit comments