Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Change tags info format
  • Loading branch information
polldo committed Nov 16, 2021
commit cb495d32a4d249566ad2a44c78c12d44b007d0aa
2 changes: 1 addition & 1 deletion cli/device/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (r listResult) String() string {
device.Board,
device.FQBN,
device.Serial,
strings.Join(device.Tags, ", "),
strings.Join(device.Tags, ","),
)
}
return t.Render()
Expand Down
2 changes: 1 addition & 1 deletion cli/thing/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (r result) String() string {

for _, thing := range r.things {
r := []interface{}{thing.Name, thing.ID, thing.DeviceID}
r = append(r, strings.Join(thing.Tags, ", "))
r = append(r, strings.Join(thing.Tags, ","))
if listFlags.variables {
r = append(r, strings.Join(thing.Variables, ", "))
}
Expand Down
2 changes: 1 addition & 1 deletion command/tag/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TagsInfo(tags map[string]interface{}) ([]string, error) {
if !ok {
return nil, fmt.Errorf("value of tag `%s` should be of type `string` but is of type `%T`", key, value)
}
str = append(str, key+": "+valStr)
str = append(str, key+"="+valStr)
}
return str, nil
}