Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
ae7ce6ca
Unverified
Commit
ae7ce6ca
authored
Apr 07, 2018
by
Matthew Fisher
Committed by
GitHub
Apr 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3842 from AdamDang/patch-1
Fix some typos
parents
e93cc491
ee9ef91d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
client.go
pkg/kube/client.go
+3
-3
No files found.
pkg/kube/client.go
View file @
ae7ce6ca
...
...
@@ -56,7 +56,7 @@ import (
)
const
(
// MissingGetHeader is added to Get's out
o
ut when a resource is not found.
// MissingGetHeader is added to Get's out
p
ut when a resource is not found.
MissingGetHeader
=
"==> MISSING
\n
KIND
\t\t
NAME
\n
"
)
...
...
@@ -406,7 +406,7 @@ func createPatch(mapping *meta.RESTMapping, target, current runtime.Object) ([]b
// While different objects need different merge types, the parent function
// that calls this does not try to create a patch when the data (first
// returned object) is nil. We can skip calculating the
the
merge type as
// returned object) is nil. We can skip calculating the merge type as
// the returned merge type is ignored.
if
apiequality
.
Semantic
.
DeepEqual
(
oldData
,
newData
)
{
return
nil
,
types
.
StrategicMergePatchType
,
nil
...
...
@@ -692,7 +692,7 @@ func (c *Client) watchPodUntilComplete(timeout time.Duration, info *resource.Inf
return
err
}
//get a
n kubernetes resources's
relation pods
//get a
kubernetes resources'
relation pods
// kubernetes resource used select labels to relate pods
func
(
c
*
Client
)
getSelectRelationPod
(
info
*
resource
.
Info
,
objPods
map
[
string
][]
core
.
Pod
)
(
map
[
string
][]
core
.
Pod
,
error
)
{
if
info
==
nil
{
...
...
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