Skip to content

Commit 5d37f1c

Browse files
committed
ref: Changed columns for linode-cli events list
After looking through Events with the CLI, it seemed that many of the columns were not super useful; for instance, `seen` and `read` are hard to change via the CLI and are more relevant to Cloud, and `message` isn't present at all. `entity.label` is also absent, although it looks like there were intentions to show it. This change does the following: * Removes `seen` and `read` from default column display list * Adds `entity.label` and `message` to default column display list New output looks like this: ``` ┌───────────┬──────────┬─────────────────┬────────────────────────────────┬─────────────────────┬──────────┬──────────────┬───────────────────────┐ │ id │ username │ action │ label │ created │ duration │ status │ message │ ├───────────┼──────────┼─────────────────┼────────────────────────────────┼─────────────────────┼──────────┼──────────────┼───────────────────────┤ │ 162178765 │ wsmith │ image_upload │ test-image-2 │ 2021-04-21T17:18:10 │ 4967 │ finished │ │ │ 162176559 │ wsmith │ image_upload │ test-image │ 2021-04-21T17:07:56 │ 59 │ failed │ Upload window expired │ ```
1 parent 3649e2a commit 5d37f1c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

openapi.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16603,6 +16603,7 @@ components:
1660316603
- host_reboot
1660416604
- image_delete
1660516605
- image_update
16606+
- image_upload
1660616607
- ipaddress_update
1660716608
- lassie_reboot
1660816609
- lish_boot
@@ -16701,14 +16702,13 @@ components:
1670116702
description: >
1670216703
The total duration in seconds that it takes for the Event to complete.
1670316704
example: 300.56
16704-
x-linode-cli-display: 10
16705+
x-linode-cli-display: 7
1670516706
entity:
1670616707
type: object
1670716708
readOnly: true
1670816709
description: >
1670916710
Detailed information about the Event's entity, including ID, type,
1671016711
label, and URL used to access it.
16711-
x-linode-cli-display: 4
1671216712
properties:
1671316713
id:
1671416714
type: integer
@@ -16738,6 +16738,7 @@ components:
1673816738
The current label of this object. The label may reflect changes
1673916739
that occur with this Event.
1674016740
example: Problem booting my Linode
16741+
x-linode-cli-display: 5
1674116742
type:
1674216743
type: string
1674316744
enum:
@@ -16781,7 +16782,6 @@ components:
1678116782
description: |
1678216783
Detailed information about the Event's secondary entity, which provides additional information
1678316784
for events such as, but not limited to, `linode_boot`, `linode_reboot`, `linode_create`, and `linode_clone` Event actions.
16784-
x-linode-cli-display: 5
1678516785
properties:
1678616786
id:
1678716787
type: string
@@ -16826,13 +16826,11 @@ components:
1682616826
readOnly: true
1682716827
description: If this Event has been read.
1682816828
example: true
16829-
x-linode-cli-display: 9
1683016829
seen:
1683116830
type: boolean
1683216831
readOnly: true
1683316832
description: If this Event has been seen.
1683416833
example: true
16835-
x-linode-cli-display: 8
1683616834
status:
1683716835
type: string
1683816836
readOnly: true
@@ -16843,7 +16841,7 @@ components:
1684316841
- notification
1684416842
- scheduled
1684516843
- started
16846-
x-linode-cli-display: 7
16844+
x-linode-cli-display: 8
1684716845
x-linode-cli-color:
1684816846
failed: red
1684916847
finished: green
@@ -16874,6 +16872,7 @@ components:
1687416872
information may include, but is not limited to, a more detailed
1687516873
representation of events which can help diagnose non-obvious failures.
1687616874
example: None
16875+
x-linode-cli-display: 9
1687716876
Firewall:
1687816877
type: object
1687916878
description: >

0 commit comments

Comments
 (0)