-
Notifications
You must be signed in to change notification settings - Fork 845
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: persist default provider deletion #1288
Conversation
e448b03
to
55f64ab
Compare
0c6aee7
to
5c6f0f1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic seems a bit scattered to me.
I suggest the following:
ProviderManager.DownloadProvider
writes the lock file after downloading.ProviderManager.DownloadProvider
has askipIfLocked
argument that will skip the download if the initial setup was locked - this will allow the controller install to redownload and for the server to skip
Seems to me that this will simplify things, especially in the Server which writes and checks lockfiles itself.
@Tpuljak |
Okay, lets at least go with this (#1288 (comment)) then. |
Signed-off-by: Ivan Dagelic <[email protected]>
5c6f0f1
to
6fc261d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
Persist default provider deletion
Description
Persists default provider/target deletion on Daytona Server restarting instead of redownloading every time
Related Issue(s)
Closes #1273