-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add CLI as a function deployment type #8215
Conversation
@@ -1163,6 +1163,7 @@ | |||
} | |||
|
|||
$activate = (bool) filter_var($activate, FILTER_VALIDATE_BOOLEAN); | |||
$type = $request->getHeader('x-sdk-language') === 'cli' ? 'cli' : 'manual'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance we can update a test case to check for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The failing test is not relevant
What does this PR do?
Set the function deployment type as
cli
whenx-sdk-language
matches thecli
. This will make it possible to filter function deployments by CLI.Test Plan
Tested against local
1.5.5
instanceRelated
Checklist