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
e0dd422c
Commit
e0dd422c
authored
Nov 30, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Nov 30, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #37623 from yarntime/fix_typo_in_deployment
Automatic merge from submit-queue fix typo in deployment fix typo in deployment.
parents
5f705d57
1e4c0f33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
deployment_util.go
pkg/controller/deployment/util/deployment_util.go
+1
-1
No files found.
pkg/controller/deployment/util/deployment_util.go
View file @
e0dd422c
...
@@ -422,7 +422,7 @@ func MaxUnavailable(deployment extensions.Deployment) int32 {
...
@@ -422,7 +422,7 @@ func MaxUnavailable(deployment extensions.Deployment) int32 {
return
maxUnavailable
return
maxUnavailable
}
}
// MinAvailable returns the minimum vailable pods of a given deployment
// MinAvailable returns the minimum
a
vailable pods of a given deployment
func
MinAvailable
(
deployment
*
extensions
.
Deployment
)
int32
{
func
MinAvailable
(
deployment
*
extensions
.
Deployment
)
int32
{
if
!
IsRollingUpdate
(
deployment
)
{
if
!
IsRollingUpdate
(
deployment
)
{
return
int32
(
0
)
return
int32
(
0
)
...
...
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