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
d698404a
Commit
d698404a
authored
Sep 14, 2017
by
tianshapjq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo in annotations
parent
58b126d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
humanreadable.go
pkg/printers/humanreadable.go
+1
-1
No files found.
pkg/printers/humanreadable.go
View file @
d698404a
...
...
@@ -211,7 +211,7 @@ func (h *HumanReadablePrinter) DefaultTableHandler(columnDefinitions []metav1alp
// func printFunc(object ObjectType, options PrintOptions) ([]metav1alpha1.TableRow, error)
// where ObjectType is the type of the object that will be printed, and the first
// return value is an array of rows, with each row containing a number of cells that
// match the number of co
ul
mns defined for that printer function.
// match the number of co
lu
mns defined for that printer function.
func
ValidateRowPrintHandlerFunc
(
printFunc
reflect
.
Value
)
error
{
if
printFunc
.
Kind
()
!=
reflect
.
Func
{
return
fmt
.
Errorf
(
"invalid print handler. %#v is not a function"
,
printFunc
)
...
...
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