rabbah commented on issue #4944: URL: https://github.com/apache/openwhisk/issues/4944#issuecomment-675097926
The code is here - you'll see `limit = 1` which essentially picks the subject. https://github.com/apache/openwhisk/blob/2036548e62dbf959d91c2328e86318bd7cfa656f/common/scala/src/main/scala/org/apache/openwhisk/core/entity/Identity.scala#L83 If the db is not changing (you're not adding and removing subjects frequently) the choice should be stable. There isn't a way to do what you want right now - you'd need to make some changes to the system. For example: specify if the subject is the "default" for the namespace, update the views to return the default subject or remove the limit and then filter in code. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
