Skip to content

Commit 444d874

Browse files
committed
Change tags info format
1 parent 0727673 commit 444d874

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cli/device/list.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (r listResult) String() string {
8484
device.Board,
8585
device.FQBN,
8686
device.Serial,
87-
strings.Join(device.Tags, ", "),
87+
strings.Join(device.Tags, ","),
8888
)
8989
}
9090
return t.Render()

cli/thing/list.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (r result) String() string {
103103
r := []interface{}{thing.Name, thing.ID, thing.DeviceID}
104104
r = append(r, strings.Join(thing.Tags, ", "))
105105
if listFlags.variables {
106-
r = append(r, strings.Join(thing.Variables, ", "))
106+
r = append(r, strings.Join(thing.Variables, ","))
107107
}
108108
t.AddRow(r...)
109109
}

command/tag/tag.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TagsInfo(tags map[string]interface{}) ([]string, error) {
2828
if !ok {
2929
return nil, fmt.Errorf("value of tag `%s` should be of type `string` but is of type `%T`", key, value)
3030
}
31-
str = append(str, key+": "+valStr)
31+
str = append(str, key+"="+valStr)
3232
}
3333
return str, nil
3434
}

0 commit comments

Comments
 (0)