Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
1105 Внедрение механизмов обеспечения безопасности цепочки поставки программных проектов
Legacy
scanned-projects
helm
Commits
4c14bc4f
Unverified
Commit
4c14bc4f
authored
6 years ago
by
Adam Reese
Committed by
Matthew Fisher
6 years ago
Browse files
Options
Download
Patches
Plain Diff
fix(kube): output internal object table
fixes #3937 (cherry picked from commit
cefee4b7
)
parent
1bc01fdb
release-2.9
v2.9.1
v2.9.0
v2.9.0-rc5
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/kube/client.go
+1
-1
pkg/kube/client.go
with
1 addition
and
1 deletion
+1
-1
pkg/kube/client.go
+
1
−
1
View file @
4c14bc4f
...
...
@@ -178,7 +178,7 @@ func (c *Client) Get(namespace string, reader io.Reader) (string, error) {
// versions per cluster, but this certainly won't hurt anything, so let's be safe.
gvk
:=
info
.
ResourceMapping
()
.
GroupVersionKind
vk
:=
gvk
.
Version
+
"/"
+
gvk
.
Kind
objs
[
vk
]
=
append
(
objs
[
vk
],
info
.
Object
)
objs
[
vk
]
=
append
(
objs
[
vk
],
info
.
AsInternal
()
)
//Get the relation pods
objPods
,
err
=
c
.
getSelectRelationPod
(
info
,
objPods
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets