Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Map() API for ygnmi.SetBatch operations. #142

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Conversation

wenovus
Copy link
Contributor

@wenovus wenovus commented Jan 2, 2024

We can use this to simplify an existing FP test like so: https://github.com/openconfig/featureprofiles/pull/2472/files

With this PR merged, the Map() API for lists is supported for all existing ygnmi query APIs.


Also fix a bug when an empty/nil map is configured using the Map() API to be consistent with when using the non-Map API.

Also fix a bug when an empty/nil map is configured using the Map() API
to be consistent with when using the non-Map API.

After this PR is merged, we can simplify an existing FP test:
https://github.com/openconfig/featureprofiles/pull/2472/files
Copy link

github-actions bot commented Jan 2, 2024

Pull Request Test Coverage Report for Build 7390460599

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 82.525%

Totals Coverage Status
Change from base Build 7120174837: 0.1%
Covered Lines: 2026
Relevant Lines: 2455

💛 - Coveralls

@wenovus wenovus merged commit 7782388 into main Jan 8, 2024
9 checks passed
@wenovus wenovus deleted the map-api-batch branch January 8, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants