kubernetes/kops · error
column not found: %v
Error message
column not found: %v
What it means
Error "column not found: %v" thrown in kubernetes/kops.
Source
Thrown at util/pkg/tables/format.go:92
func (f *funcSorter) Less(i, j int) bool {
return f.less(i, j)
}
func (f *funcSorter) Swap(i, j int) {
f.swap(i, j)
}
func SortByFunction(len int, swap func(int, int), less func(int, int) bool) {
sort.Sort(&funcSorter{len, less, swap})
}
func (t *Table) findColumns(columnNames ...string) ([]*TableColumn, error) {
columns := make([]*TableColumn, len(columnNames))
for i, columnName := range columnNames {
c := t.columns[columnName]
if c == nil {
return nil, fmt.Errorf("column not found: %v", columnName)
}
columns[i] = c
}
return columns, nil
}
// Render writes the items in a table, to out
func (t *Table) Render(items interface{}, out io.Writer, columnNames ...string) error {
itemsValue := reflect.ValueOf(items)
if itemsValue.Kind() != reflect.Slice {
klog.Fatal("unexpected kind for items: ", itemsValue.Kind())
}
columns, err := t.findColumns(columnNames...)
if err != nil {
return err
}
View on GitHub (pinned to 4c8573c808)
When it happens
Trigger: Thrown at util/pkg/tables/format.go:92 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of kubernetes/kops@4c8573c808 (2026-09-05).
Data as JSON: /api/errors/295896af8966097e.
Report an issue: GitHub.