Skip to content
Commit 0225b87b authored by Ed Tanous's avatar Ed Tanous Committed by Ed Tanous
Browse files

Move duplicate reduction

getEthernetIfaceData callback should ideally be returning exactly the
values the system has, minus duplicates.  In every case this function is
used, we don't want duplicates, so move where we check for duplicates.

Tested: In conjunction with
https://gerrit.openbmc.org/c/openbmc/bmcweb/+/54829

 test cases pass.

Signed-off-by: default avatarEd Tanous <edtanous@google.com>
Change-Id: Ib202db99f70e1a6fdddf18969e15b2382e287848
parent 1ec18997
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment