Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

[sonic-telemetry] Fix the bug that the old fvs may be overriden in makeJSON. #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sdddean
Copy link

@sdddean sdddean commented Dec 15, 2020

Signed-off-by: sundandan sundandan@asterfusion.com

- Why I did it
As different tablePath may have the same dbName,tableName,tableKey, delimitor and the different field, and the function makeJSON_redis would be call many times with the same msi, key, op and the different mfv. Now, the logic makes the old fvs are overriden.

- How I did it
Get old fvs before assigning the new mfvs to msi.

…keJSON.

Signed-off-by: sundandan <sundandan@asterfusion.com>
@sdddean sdddean closed this Dec 15, 2020
@sdddean sdddean reopened this Dec 15, 2020
@sdddean sdddean closed this Dec 15, 2020
@sdddean sdddean reopened this Dec 15, 2020
@sdddean sdddean marked this pull request as ready for review December 15, 2020 03:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant