-
Notifications
You must be signed in to change notification settings - Fork 22
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: upgrade to 1.21 #794
Conversation
Signed-off-by: Lukas Zapletal <[email protected]>
Omg I knew this is gonna hit us some day. And it hits hard. Go 1.21 updated how
Unfortunately, |
Good topic for a tech discussion I'd say :) |
I have half of the patch done, will finish it on Monday. I got rid of all |
So I was working for two days on complete refactoring of |
b72166f
to
5474077
Compare
Signed-off-by: Lukas Zapletal <[email protected]>
@@ -9,7 +9,7 @@ import ( | |||
"github.com/RHEnVision/provisioning-backend/internal/ptr" | |||
) | |||
|
|||
var ReservationTime time.Time = MustParseTime("2013-05-13T19:20:25Z") | |||
var ReservationTime = MustParseTime("2013-05-13T19:20:25Z") |
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.
There are couple of changes like this, I did not pay attention and IDE fixed these for me. These are not relevant, will not hurt I guess.
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 like it, that's the way C++ headed last time I lookes as well, no useless explicity :)
So the solution was rather simple, but I spent quite some time trying to do a big-bang refactoring, I ran into many import cycle problems and it was a dead end. The solution I am proposing is to move all Lessons learned: * Never ever use
|
Signed-off-by: Lukas Zapletal <[email protected]>
/retest |
2 similar comments
/retest |
/retest |
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.
Cool! lets do it! 🎉
Bump to Go Toolbox 1.21.6 from RHEL 9.4.