Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aio rt api create allows relpath without a leading slash #340

Open
MichaelGoberling opened this issue Jun 20, 2024 · 1 comment
Open

aio rt api create allows relpath without a leading slash #340

MichaelGoberling opened this issue Jun 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MichaelGoberling
Copy link
Contributor

Currently users can run aio rt api create basepath relpath ... and it will succeed, producing an endpoint like https://adobeioruntime.net/apis/namespace/basepathrelpath

On the other hand, wsk requires that relpath begins with a /, to separate the basepath and relpath, and if users don't include it, the command produces an error:

error: Unable to parse api command arguments: 'relpath' must begin with '/'.

We should update aio rt api create to match this wsk behavior

@MichaelGoberling MichaelGoberling added the bug Something isn't working label Jun 20, 2024
@aiojbot
Copy link
Collaborator

aiojbot commented Jun 20, 2024

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants