This is a simple copy&paste error which slipped past review, fix it up.
Change-Id: Ia381754abc7ec9d3adf53066ab2f8910e5554123
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
7c7e349b1e459e67465d42b496b287253256e5da)
checkParameterCount(content, RestconfDataServiceConstant.ReadData.CONTENT);
checkParameterCount(depth, RestconfDataServiceConstant.ReadData.DEPTH);
checkParameterCount(fields, RestconfDataServiceConstant.ReadData.FIELDS);
- checkParameterCount(fields, RestconfDataServiceConstant.ReadData.WITH_DEFAULTS);
+ checkParameterCount(withDefaults, RestconfDataServiceConstant.ReadData.WITH_DEFAULTS);
// check and set content
final String contentValue = content.get(0);