-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the 400 error when create function (streamnative/pulsarctl#405)
* Fix the 400 error when create function --- *Motivation* When using pulsarctl create functions, pulsarctl always get 400 bac request error. That cause by we pass the unneeded field in the request. This PR ignore the function configurations in the request if the field is empty. *Modifications* - Ignore the empty field in the function configuration data when transform to json *Verify this change* Update the function test image to running the created test
- Loading branch information
Showing
2 changed files
with
33 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters