Fix up legacy printer table adapter

Kubernetes-commit: 86c2158bb038f521b39e4c7902e5b34686b9d254
This commit is contained in:
Jordan Liggitt 2018-06-07 13:20:04 -04:00 committed by Kubernetes Publisher
parent 5ea0fc709f
commit 5ea36f1aa3
1 changed files with 1 additions and 1 deletions

View File

@ -1312,7 +1312,7 @@ func (t *Tester) testListTableConversion(obj runtime.Object, assignFn AssignFunc
if len(columns) == 0 {
t.Errorf("unexpected number of columns: %v", len(columns))
}
if columns[0].Name != "Name" || columns[0].Type != "string" || columns[0].Format != "name" {
if !strings.EqualFold(columns[0].Name, "Name") || columns[0].Type != "string" || columns[0].Format != "name" {
t.Errorf("expect column 0 to be the name column: %#v", columns[0])
}
for j, column := range columns {