Commit bed4054c authored by Gábor Lipták's avatar Gábor Lipták Committed by Matthew Fisher

Correct golint warning (#5287)

Signed-off-by: 's avatarGábor Lipták <gliptak@gmail.com>
parent a3d70271
...@@ -129,9 +129,8 @@ func (k *kindSorter) Less(i, j int) bool { ...@@ -129,9 +129,8 @@ func (k *kindSorter) Less(i, j int) bool {
// if both are unknown then sort alphabetically by kind and name // if both are unknown then sort alphabetically by kind and name
if a.Head.Kind != b.Head.Kind { if a.Head.Kind != b.Head.Kind {
return a.Head.Kind < b.Head.Kind return a.Head.Kind < b.Head.Kind
} else {
return a.Name < b.Name
} }
return a.Name < b.Name
} }
// unknown kind is last // unknown kind is last
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment