apache / openwhisk-client-go

Go client library for the Apache OpenWhisk platform
https://openwhisk.apache.org/
Apache License 2.0
35 stars 44 forks source link

Add DelAnnotations field to support del annotation #137

Closed ningyougang closed 3 years ago

ningyougang commented 3 years ago

Currently, if passing another annotations, original previous annotation will be removed and the passed new annotations will be added.

It may give users some confused that why my previous annotation gone. So it is better to not delete user's previous annotation when adding new annotation, but at the same time, need to provide a feature that support to delete annotation by user via ClI, e.g.

wsk action update hello --del-annotation key1 --del-annotation key2

another brother prs to support del annotation:

ningyougang commented 3 years ago

It seems build error image

It seems have no relation with my codes, is it travis problem? this build error can be solved by this pr: https://github.com/apache/openwhisk-client-go/pull/138