Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
KubeCube
Commits
c06bc204
Unverified
Commit
c06bc204
authored
2 years ago
by
tiancan
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix bug when query pod (#196)
* fix bug when query pod * add 1.6.1 changelog
parent
69dd4cf4
release-v1.6
v1.6.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/changelog.md
+1
-0
docs/changelog.md
pkg/apiserver/cubeapi/resourcemanage/resources/pod/pod.go
+1
-1
pkg/apiserver/cubeapi/resourcemanage/resources/pod/pod.go
with
2 additions
and
1 deletion
+2
-1
docs/changelog.md
+
1
-
0
View file @
c06bc204
...
...
@@ -6,6 +6,7 @@
## Bugfix
-
Fix: warden pivot url parse error
[
#194
](
https://github.com/kubecube-io/KubeCube/pull/194
)
-
Fix: query pod list
[
#196
](
https://github.com/kubecube-io/KubeCube/pull/196
)
## Dependencies
...
...
This diff is collapsed.
Click to expand it.
pkg/apiserver/cubeapi/resourcemanage/resources/pod/pod.go
+
1
-
1
View file @
c06bc204
...
...
@@ -61,7 +61,7 @@ func Handle(param resourcemanage.ExtendParams) (interface{}, error) {
return
nil
,
errors
.
New
(
errcode
.
ClusterNotFoundError
(
param
.
Cluster
)
.
Message
)
}
pod
:=
NewPod
(
kubernetes
,
param
.
Namespace
,
param
.
Filter
)
if
pod
.
filter
.
EnableFilter
{
if
pod
.
filter
.
EnableFilter
&&
pod
.
filter
.
Exact
[
ownerUidLabel
]
.
Len
()
>
0
{
err
:=
pod
.
GetRs
()
if
err
!=
nil
{
return
nil
,
errors
.
New
(
err
.
Error
())
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help