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
Error in stack file via api produces no error in api output #3496
Comments
@alphaDev23 I was not able to reproduce this while doing the following api call against the stack creation API
Could you please elaborate on the api call you are making and provide an example request body you are sending that includes the space before |
e.g. Stack definition starts with (space before 'version'): version: '3.4' |
@alphaDev23 What are your reproduction steps as I cannot recreate this. Every time I try, the stack is still created. I have tried:
|
The api call and the 2nd UI examples you describe are correct. I had produced the error via the api call. |
This issue has been marked as stale as it has not had recent activity, it will be closed if no further activity occurs in the next 7 days. If you believe that it has been incorrectly labelled as stale, leave a comment and the label will be removed. |
Since no further activity has appeared on this issue it will be closed. If you believe that it has been incorrectly closed, leave a comment and mention @itsconquest. One of our staff will then review the issue. |
Portainer 1.23.0. An error created by including a space before "version" on the first line produces no error in the api output. Instead, no services are created.
Expected result. An error via the api output should inform the user that the stack file format is incorrect.
The text was updated successfully, but these errors were encountered: