apache / apache/openwhisk-cli

`wsk trigger get` is no longer showing info for a Feed based Trigger

Aperta
#196 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug triggers
Lingua principale
Go
Stelle
109
Fork
98
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

This morning while testing I ran across the following,
When I run `wsk trigger get ` it was outputting what appeared as the invocation of the Trigger.

I then ran `wsk trigger get -v` and noticed that it was getting the info for the Trigger but it was also invoking the READ event of the Feed.

I brought this info first to @mdeuser who noticed that a code change had been put in place to enable this behavior.

On the whisk-cli channel @abaruni confirmed that it was an intentional change. Mark mentioned that when displaying the `get` for a feed-based trigger we no longer get some of the Trigger info, such as
`
{
"namespace": "mdeuser_dev",
"name": "mytrig",
"version": "0.0.1",
"limits": {},
"publish": false
}
`
Mark suggested that when displaying the info for a feed-based Trigger we should append the Feed information to the Trigger info that would have been returned in the past.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dal punto di ingresso del comando `wsk trigger get` e traccia il modo in cui vengono visualizzati i trigger basati su feed, incluso il comportamento dell'evento READ descritto nell'issue. Il lavoro è completato quando il comando conserva le consuete informazioni del Trigger e aggiunge le informazioni del Feed senza invocare inaspettatamente l'evento READ del Feed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
go
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.