From 823011f77af5f928fadbff206ee87e66d489150d Mon Sep 17 00:00:00 2001 From: Camila Macedo Date: Thu, 28 Sep 2023 17:16:06 +0100 Subject: [PATCH] [release-note]: fix misspelling into device list subcommand where was replaced with Signed-off-by: Camila Macedo --- subcommands/devices/list.go | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/subcommands/devices/list.go b/subcommands/devices/list.go index 0ccf4ed0..8cdda086 100644 --- a/subcommands/devices/list.go +++ b/subcommands/devices/list.go @@ -68,25 +68,25 @@ func ownerFormatter(d *client.Device) string { } var Columns = map[string]column{ - "name": {func(d *client.Device) string { return d.Name }}, - "uuid": {func(d *client.Device) string { return d.Uuid }}, - "factory": {func(d *client.Device) string { return d.Factory }}, - "owner": {ownerFormatter}, - "device-group": {func(d *client.Device) string { return d.GroupName }}, - "target": {func(d *client.Device) string { return d.TargetName }}, - "status": {statusFormatter}, - "apps": {func(d *client.Device) string { return strings.Join(d.DockerApps, ",") }}, - "up-to-date": {func(d *client.Device) string { return fmt.Sprintf("%v", d.UpToDate) }}, - "tag": {func(d *client.Device) string { return d.Tag }}, - "created-at": {func(d *client.Device) string { return d.ChangeMeta.CreatedAt }}, - "created-by": {func(d *client.Device) string { return d.ChangeMeta.CreatedBy }}, - "updated-at": {func(d *client.Device) string { return d.ChangeMeta.UpdatedAt }}, - "updated-by": {func(d *client.Device) string { return d.ChangeMeta.UpdatedBy }}, - "last-seen": {func(d *client.Device) string { return d.LastSeen }}, - "ostree-hash": {func(d *client.Device) string { return d.OstreeHash }}, - "curent-update": {func(d *client.Device) string { return d.CurrentUpdate }}, - "is-prod": {func(d *client.Device) string { return fmt.Sprintf("%v", d.IsProd) }}, - "is-wave": {func(d *client.Device) string { return fmt.Sprintf("%v", d.IsWave) }}, + "name": {func(d *client.Device) string { return d.Name }}, + "uuid": {func(d *client.Device) string { return d.Uuid }}, + "factory": {func(d *client.Device) string { return d.Factory }}, + "owner": {ownerFormatter}, + "device-group": {func(d *client.Device) string { return d.GroupName }}, + "target": {func(d *client.Device) string { return d.TargetName }}, + "status": {statusFormatter}, + "apps": {func(d *client.Device) string { return strings.Join(d.DockerApps, ",") }}, + "up-to-date": {func(d *client.Device) string { return fmt.Sprintf("%v", d.UpToDate) }}, + "tag": {func(d *client.Device) string { return d.Tag }}, + "created-at": {func(d *client.Device) string { return d.ChangeMeta.CreatedAt }}, + "created-by": {func(d *client.Device) string { return d.ChangeMeta.CreatedBy }}, + "updated-at": {func(d *client.Device) string { return d.ChangeMeta.UpdatedAt }}, + "updated-by": {func(d *client.Device) string { return d.ChangeMeta.UpdatedBy }}, + "last-seen": {func(d *client.Device) string { return d.LastSeen }}, + "ostree-hash": {func(d *client.Device) string { return d.OstreeHash }}, + "current-update": {func(d *client.Device) string { return d.CurrentUpdate }}, + "is-prod": {func(d *client.Device) string { return fmt.Sprintf("%v", d.IsProd) }}, + "is-wave": {func(d *client.Device) string { return fmt.Sprintf("%v", d.IsWave) }}, } func addPaginationFlags(cmd *cobra.Command) {