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
5d9e492f
Commit
5d9e492f
authored
Sep 28, 2017
by
Jacob Beacham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix kubeadm upgrade grammar.
I noticed an erroneous word in the output from the kubeadm upgrade docs.
parent
f369c1af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
plan.go
cmd/kubeadm/app/cmd/upgrade/plan.go
+1
-1
plan_test.go
cmd/kubeadm/app/cmd/upgrade/plan_test.go
+4
-4
No files found.
cmd/kubeadm/app/cmd/upgrade/plan.go
View file @
5d9e492f
...
@@ -122,7 +122,7 @@ func printAvailableUpgrades(upgrades []upgrade.Upgrade, w io.Writer) {
...
@@ -122,7 +122,7 @@ func printAvailableUpgrades(upgrades []upgrade.Upgrade, w io.Writer) {
fmt
.
Fprintln
(
w
,
""
)
fmt
.
Fprintln
(
w
,
""
)
if
upgrade
.
Before
.
KubeadmVersion
!=
upgrade
.
After
.
KubeadmVersion
{
if
upgrade
.
Before
.
KubeadmVersion
!=
upgrade
.
After
.
KubeadmVersion
{
fmt
.
Fprintf
(
w
,
"Note: Before you
do
can perform this upgrade, you have to update kubeadm to %s
\n
"
,
upgrade
.
After
.
KubeadmVersion
)
fmt
.
Fprintf
(
w
,
"Note: Before you can perform this upgrade, you have to update kubeadm to %s
\n
"
,
upgrade
.
After
.
KubeadmVersion
)
fmt
.
Fprintln
(
w
,
""
)
fmt
.
Fprintln
(
w
,
""
)
}
}
...
...
cmd/kubeadm/app/cmd/upgrade/plan_test.go
View file @
5d9e492f
...
@@ -106,7 +106,7 @@ You can now apply the upgrade by executing the following command:
...
@@ -106,7 +106,7 @@ You can now apply the upgrade by executing the following command:
kubeadm upgrade apply v1.7.3
kubeadm upgrade apply v1.7.3
Note: Before you
do
can perform this upgrade, you have to update kubeadm to v1.7.3
Note: Before you can perform this upgrade, you have to update kubeadm to v1.7.3
_____________________________________________________________________
_____________________________________________________________________
...
@@ -223,7 +223,7 @@ You can now apply the upgrade by executing the following command:
...
@@ -223,7 +223,7 @@ You can now apply the upgrade by executing the following command:
kubeadm upgrade apply v1.8.2
kubeadm upgrade apply v1.8.2
Note: Before you
do
can perform this upgrade, you have to update kubeadm to v1.8.2
Note: Before you can perform this upgrade, you have to update kubeadm to v1.8.2
_____________________________________________________________________
_____________________________________________________________________
...
@@ -265,7 +265,7 @@ You can now apply the upgrade by executing the following command:
...
@@ -265,7 +265,7 @@ You can now apply the upgrade by executing the following command:
kubeadm upgrade apply v1.8.0-beta.1
kubeadm upgrade apply v1.8.0-beta.1
Note: Before you
do
can perform this upgrade, you have to update kubeadm to v1.8.0-beta.1
Note: Before you can perform this upgrade, you have to update kubeadm to v1.8.0-beta.1
_____________________________________________________________________
_____________________________________________________________________
...
@@ -307,7 +307,7 @@ You can now apply the upgrade by executing the following command:
...
@@ -307,7 +307,7 @@ You can now apply the upgrade by executing the following command:
kubeadm upgrade apply v1.8.0-rc.1
kubeadm upgrade apply v1.8.0-rc.1
Note: Before you
do
can perform this upgrade, you have to update kubeadm to v1.8.0-rc.1
Note: Before you can perform this upgrade, you have to update kubeadm to v1.8.0-rc.1
_____________________________________________________________________
_____________________________________________________________________
...
...
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