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

appengine device {aliases | attribues} list: show a human-readable map #276

Conversation

Annopaolo
Copy link
Collaborator

@Annopaolo Annopaolo commented 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 Device aliases are a map, not an array astarte-go#68), so the dependency is updated contextually.
  • In order to keep consistency, display the same output format also for attributes.

Now, aliases and attributes are displayed like this:

foo: bar
baz: foo

Fixes #275

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>
display attributes in a human-friendly representation instead
of defaulting to Go's internal one.
Keep consistency with aliases display (see previous commit).

Signed-off-by: Arnaldo Cesco <arnaldo.cesco@gmail.com>
@Annopaolo Annopaolo force-pushed the aliases-and-attributes-are-maps branch from 786dff5 to 1ea8ca8 Compare November 12, 2024 14:02
@Annopaolo Annopaolo marked this pull request as ready for review November 12, 2024 14:13
@matt-mazzucato matt-mazzucato merged commit 919a628 into astarte-platform:release-24.5 Nov 12, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants