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

Metadata server: move persist pubsubs from zedrouter to msrv #4015

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

uncleDecart
Copy link
Member

In case older version of EVE contained patch envelopes which needs to be saved.

Needs to be tested

// override it
return os.RemoveAll(src)
} else {
if err := moveDir(src, dst); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

How about using fileutils.CopyDir?

Copy link
Contributor

Choose a reason for hiding this comment

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

In case older version of EVE contained patch envelopes which
needs to be saved

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
@uncleDecart uncleDecart changed the title [WIP] Metadata server: move persist pubsubs from zedrouter to msrv Metadata server: move persist pubsubs from zedrouter to msrv Jun 28, 2024
@uncleDecart
Copy link
Member Author

Tested locally with Eden. Worked like charm, files are there at msrv service and zedrouter files are also there

@eriknordmark eriknordmark merged commit 8a86e93 into lf-edge:master Jun 29, 2024
34 of 35 checks passed
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