Skip to content

Error when multiple configuration plugins are installed#2069

Merged
eapolinario merged 2 commits into
flyteorg:masterfrom
thomasjpfan:error_on_multiple_entrypoints_plugin
Dec 26, 2023
Merged

Error when multiple configuration plugins are installed#2069
eapolinario merged 2 commits into
flyteorg:masterfrom
thomasjpfan:error_on_multiple_entrypoints_plugin

Conversation

@thomasjpfan

Copy link
Copy Markdown
Contributor

Why are the changes needed?

For the initial release, I think it's better to be strict and disallow multiple plugin installed.

What changes were proposed in this pull request?

I updated the code and tests to have the more restricted behavior.

How was this patch tested?

I updated the unit test to check for the error when multiple multiples are installed.

Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>
@codecov

codecov Bot commented Dec 22, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ad328a7) 85.70% compared to head (dc063a3) 85.72%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2069      +/-   ##
==========================================
+ Coverage   85.70%   85.72%   +0.01%     
==========================================
  Files         313      313              
  Lines       23364    23396      +32     
  Branches     3489     3501      +12     
==========================================
+ Hits        20025    20056      +31     
  Misses       2733     2733              
- Partials      606      607       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pingsutw
pingsutw previously approved these changes Dec 22, 2023
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>
@eapolinario eapolinario merged commit e107994 into flyteorg:master Dec 26, 2023
pryce-turner pushed a commit that referenced this pull request Dec 26, 2023
* Error when multiple configuration plugins are installed

Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>

* Adds semi-colon

Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>

---------

Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>
Signed-off-by: pryce-turner <pryce.turner@gmail.com>
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.

3 participants