Skip to content

Commit

Permalink
fix(events)!: rename events to list-events
Browse files Browse the repository at this point in the history
With the forthcoming change to kubectl to include an events command
(kubernetes/enhancements#1440) renaming
`kubectl-events` to `kubectl-list-events` so as not to conflict.
  • Loading branch information
ssoriche committed Jun 26, 2023
1 parent 27f2920 commit fe44f38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env fish

function kubectl-events -d "view kubernetes events by timestamp" --wraps kubectl
function kubectl-list-events -d "view kubernetes events by timestamp" --wraps kubectl
begin
echo -e "TIME\tNAMESPACE\tTYPE\tREASON\tOBJECT\tSOURCE\tMESSAGE"
kubectl get events -o json $argv \
Expand Down

0 comments on commit fe44f38

Please sign in to comment.