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

Error when multiple configuration plugins are installed #2069

Merged

Conversation

thomasjpfan
Copy link
Member

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>
Copy link

codecov bot commented Dec 22, 2023

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
84 checks passed
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
3 participants