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

Device aliases are a map, not an array #68

Merged

Conversation

Annopaolo
Copy link
Collaborator

@Annopaolo Annopaolo commented Nov 12, 2024

Fix the parsing of device aliases, which are to be parsed in the same way as attributes.

See astarte-platform/astartectl#275.

@Annopaolo Annopaolo added the bug Something isn't working label Nov 12, 2024
Fix the parsing of device aliases, which
are to be parsed in the same way as attributes.

Signed-off-by: Arnaldo Cesco <arnaldo.cesco@gmail.com>
@Annopaolo Annopaolo force-pushed the parse-aliases-as-maps branch from 714c329 to be88292 Compare November 12, 2024 10:54
Copy link

codecov bot commented Nov 12, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 51.19%. Comparing base (0c8b9f5) to head (be88292).
Report is 9 commits behind head on master.

Files with missing lines Patch % Lines
client/appengine_data.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
- Coverage   51.23%   51.19%   -0.04%     
==========================================
  Files          21       21              
  Lines        2637     2635       -2     
==========================================
- Hits         1351     1349       -2     
  Misses       1180     1180              
  Partials      106      106              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matt-mazzucato matt-mazzucato merged commit b8a1c07 into astarte-platform:master Nov 12, 2024
11 of 13 checks passed
Annopaolo added a commit to Annopaolo/astartectl that referenced this pull request Nov 12, 2024
Astarte Device aliases are a map. Print them as so,
instead of an empty list.
This follows a fix in astarte-go, see
astarte-platform/astarte-go#68.

Signed-off-by: Arnaldo Cesco <arnaldo.cesco@gmail.com>
Annopaolo added a commit to Annopaolo/astartectl that referenced this pull request Nov 12, 2024
Astarte Device aliases are a map. Print them as so,
instead of an empty list.
This follows a fix in astarte-go, see
astarte-platform/astarte-go#68.

Signed-off-by: Arnaldo Cesco <arnaldo.cesco@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants