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

[Dashboard] Return nuclio.ErrAccepted instead of nil when we don't redeploy function because it is not imported #3218

Merged
merged 3 commits into from
Apr 17, 2024

Conversation

rokatyy
Copy link
Contributor

@rokatyy rokatyy commented Apr 16, 2024

Nuctl expects dashboard to return Accepted status, otherwise it fails function redeploy. It makes sense to return Accepted if function is ready on condition that user want to redeploy only imported functions.

@rokatyy rokatyy changed the title [Dashboard] Return nuclio.ErrAccepted instead of nil when we don't redeploy function because it is not imported [Dashboard] Return nuclio.ErrNoContent instead of nil when we don't redeploy function because it is not imported Apr 16, 2024
@rokatyy rokatyy requested a review from TomerShor April 16, 2024 14:48
@rokatyy rokatyy marked this pull request as ready for review April 16, 2024 14:48
@rokatyy rokatyy marked this pull request as draft April 17, 2024 09:37
@TomerShor TomerShor changed the title [Dashboard] Return nuclio.ErrNoContent instead of nil when we don't redeploy function because it is not imported [Dashboard] Return nuclio.ErrAccepted instead of nil when we don't redeploy function because it is not imported Apr 17, 2024
@rokatyy rokatyy marked this pull request as ready for review April 17, 2024 11:59
@TomerShor TomerShor merged commit 9e2f272 into nuclio:development Apr 17, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants