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

fix: correctly handle migration of configs #9995

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Conversation

Jorropo
Copy link
Contributor

@Jorropo Jorropo commented Jun 27, 2023

readPluginsConfig was copied from ReadMigrationConfig and switched erroring fields to a bool so it can be omitemptied.

@Jorropo Jorropo requested a review from a team as a code owner June 27, 2023 09:15
This was referenced Jun 27, 2023
readPluginsConfig was copied from ReadMigrationConfig and switched
erroring fields to a bool so it can be omitemptied.
Copy link
Member

@hacdias hacdias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not opposed to the change, but shouldn't we have some kind of test to ensure that the migration is no longer broken?

@Jorropo
Copy link
Contributor Author

Jorropo commented Jun 27, 2023

@hacdias tests for which of the fix ?

@hacdias
Copy link
Member

hacdias commented Jun 27, 2023

readPluginsConfig?

@Jorropo
Copy link
Contributor Author

Jorropo commented Jun 27, 2023

@hacdias this would be anoying to test you would need to run use an outdated repo and verify kubo starts and migrate.
This seems easy to not mess up and was copied from something else.

@hacdias
Copy link
Member

hacdias commented Jun 27, 2023

Gotcha, had missed that it was already copied from somewhere else. Hope it's fine then!

@Jorropo
Copy link
Contributor Author

Jorropo commented Jun 27, 2023

readPluginsConfig was copied from ReadMigrationConfig

:D thx

@Jorropo Jorropo merged commit f2a6c4f into master Jun 27, 2023
@Jorropo Jorropo deleted the fix-config-migration branch June 27, 2023 14:32
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