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
74d2aa4d
Commit
74d2aa4d
authored
Jul 21, 2017
by
zhangxiaoyu-zidif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add namespace for describe pdb
parent
5529d01a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
describe.go
pkg/printers/internalversion/describe.go
+1
-0
No files found.
pkg/printers/internalversion/describe.go
View file @
74d2aa4d
...
...
@@ -3075,6 +3075,7 @@ func describePodDisruptionBudget(pdb *policy.PodDisruptionBudget, events *api.Ev
return
tabbedString
(
func
(
out
io
.
Writer
)
error
{
w
:=
NewPrefixWriter
(
out
)
w
.
Write
(
LEVEL_0
,
"Name:
\t
%s
\n
"
,
pdb
.
Name
)
w
.
Write
(
LEVEL_0
,
"Namespace:
\t
%s
\n
"
,
pdb
.
Namespace
)
if
pdb
.
Spec
.
MinAvailable
!=
nil
{
w
.
Write
(
LEVEL_0
,
"Min available:
\t
%s
\n
"
,
pdb
.
Spec
.
MinAvailable
.
String
())
...
...
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