-
Notifications
You must be signed in to change notification settings - Fork 40
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
chore: migrate uncompressed resources data #863
Conversation
bcb4fc1
to
ee1cde9
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.
I guess we should have a test for it
ee1cde9
to
d053989
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.
I wouldn't do it using generics for the sake of readability, but no big deal :)
I also suggest adding some tests. After that, ✅
I wanted to preserve type safety so it was either duplicating code for different types or use generics. I tried to simplify the end result as much as I could |
1a2d462
to
71aedb0
Compare
@smira @Unix4ever should be good to go |
71aedb0
to
6d88df6
Compare
f327f21
to
a774ea0
Compare
Now the clusterInfo fails 🤦 |
a774ea0
to
f08b52d
Compare
Abusing generics to compress uncompressed data in `*omni.ConfigPatch`, `*omni.ClusterMachineConfig`, `*omni.RedactedClusterMachineConfig` and `*omni.ClusterMachineConfigPatches`. Fixes siderolabs#853 Signed-off-by: Dmitriy Matrenichev <[email protected]>
f08b52d
to
e2e5f08
Compare
/m |
Abusing generics to compress uncompressed data in
*omni.ConfigPatch
,*omni.ClusterMachineConfig
,*omni.RedactedClusterMachineConfig
and*omni.ClusterMachineConfigPatches
.Fixes #853