Skip to content

Set function resources properly#2841

Merged
jerrypeng merged 3 commits intoapache:masterfrom
srkukarni:function_resources
Oct 25, 2018
Merged

Set function resources properly#2841
jerrypeng merged 3 commits intoapache:masterfrom
srkukarni:function_resources

Conversation

@srkukarni
Copy link
Copy Markdown
Contributor

Motivation

Override resources only if the quantities have been specified in cmdline.

Modifications

Describe the modifications you've done.

Result

After your change, what will change.

@srkukarni srkukarni requested a review from jerrypeng October 24, 2018 23:38
@jerrypeng
Copy link
Copy Markdown
Contributor

jerrypeng commented Oct 24, 2018

can we also have a unittest for this? Similar to what we already have for CmdSource and CmdSink:

https://github.com/apache/pulsar/blob/master/pulsar-client-tools/src/test/java/org/apache/pulsar/admin/cli/TestCmdSources.java#L567

@srkukarni
Copy link
Copy Markdown
Contributor Author

@jerrypeng added unittests

@jerrypeng jerrypeng merged commit a9a7f30 into apache:master Oct 25, 2018
@srkukarni srkukarni deleted the function_resources branch October 25, 2018 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants