Comment 12 for bug 1773197

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/44920
Committed: http://github.com/Juniper/contrail-common/commit/78c037c10664c1408af7dba4100ba4f548c055ae
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 78c037c10664c1408af7dba4100ba4f548c055ae
Author: Ananth Suryanarayana <email address hidden>
Date: Tue Jul 24 14:58:48 2018 -0700

Revert incorrect fix from https://review.opencontrail.org/#/c/35856/

There were two issues with the fix made before.

1. All spaces inside link attribute was erased, which is clearly incorrect.
2. JSON supports NULL already. We need to check for null and then set
the link attribute as an empty object if attr data turns out to be null.

Change-Id: I8cdf876196a709571ee4b763c19af7a0d81e85f8
Closes-Bug: 1773197