You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2022/10/14 11:18:43 UTC
[GitHub] [openwhisk-client-go] rabbah commented on a diff in pull request #155: Adds support for activation count
rabbah commented on code in PR #155:
URL: https://github.com/apache/openwhisk-client-go/pull/155#discussion_r995646764
##########
whisk/activation.go:
##########
@@ -189,6 +204,44 @@ func (s *ActivationService) List(options *ActivationListOptions) ([]Activation,
return activations, resp, nil
}
+func (s *ActivationService) Count(options *ActivationCountOptions) (*ActivationCount, *http.Response, error) {
+ // TODO :: for some reason /activations only works with "_" as namespace
Review Comment:
I know this comment is not yours (inherited from other methods) but I don't believe this is true at all. The value for the namespace generally is either `_` or a valid string representing a namespace (and typically has to match the API key otherwise it's a 401). In any case, don't need to fix it just making a historical note.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org