Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
5ac194e0
Unverified
Commit
5ac194e0
authored
Dec 29, 2018
by
Kubernetes Prow Robot
Committed by
GitHub
Dec 29, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #72435 from bart0sh/PR0051-kubeadm-fix-package-name
kubeadm: fix incorrect package name in idempotency_test.go
parents
f83bb590
01c9e67c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
idempotency_test.go
cmd/kubeadm/app/util/apiclient/idempotency_test.go
+2
-3
No files found.
cmd/kubeadm/app/util/apiclient/idempotency_test.go
View file @
5ac194e0
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
*/
*/
package
apiclient
_test
package
apiclient
import
(
import
(
"testing"
"testing"
...
@@ -22,7 +22,6 @@ import (
...
@@ -22,7 +22,6 @@ import (
"k8s.io/api/core/v1"
"k8s.io/api/core/v1"
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes/fake"
"k8s.io/client-go/kubernetes/fake"
"k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient"
kubeletapis
"k8s.io/kubernetes/pkg/kubelet/apis"
kubeletapis
"k8s.io/kubernetes/pkg/kubelet/apis"
)
)
...
@@ -68,7 +67,7 @@ func TestPatchNodeNonErrorCases(t *testing.T) {
...
@@ -68,7 +67,7 @@ func TestPatchNodeNonErrorCases(t *testing.T) {
if
err
!=
nil
{
if
err
!=
nil
{
t
.
Fatalf
(
"failed to create node to fake client: %v"
,
err
)
t
.
Fatalf
(
"failed to create node to fake client: %v"
,
err
)
}
}
conditionFunction
:=
apiclient
.
PatchNodeOnce
(
client
,
tc
.
lookupName
,
func
(
node
*
v1
.
Node
)
{
conditionFunction
:=
PatchNodeOnce
(
client
,
tc
.
lookupName
,
func
(
node
*
v1
.
Node
)
{
node
.
Annotations
=
map
[
string
]
string
{
node
.
Annotations
=
map
[
string
]
string
{
"updatedBy"
:
"test"
,
"updatedBy"
:
"test"
,
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment