Fix sorting with right index value 24/76024/1
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Sat, 19 Jan 2019 00:54:25 +0000 (16:54 -0800)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Sat, 19 Jan 2019 00:54:30 +0000 (16:54 -0800)
commit96c1fc6a2be0cf4dc39d93bfc7f8df0cd76a7b14
tree6ca4e827f22237a159c651cee285ffb9f3de8649
parent4bfbc6d3fb1cb11ac2a409764a1380d1741f2af1
Fix sorting with right index value

Fix the less function used in sort.Slice
with the right index.
I am using the same index which obviously will not work.

Issue-ID: MULTICLOUD-439
Change-Id: Ibb78c03d67cf59e3941acc786796d0cc69b4f0aa
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
src/k8splugin/api/defhandler_test.go
src/k8splugin/api/profilehandler_test.go
src/k8splugin/rb/definition_test.go
src/k8splugin/rb/profile_test.go