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

feat(Landscape): Apply new Landscape config changes to pre-existing distros #361

Merged
merged 8 commits into from
Oct 26, 2023

Conversation

EduardGomezEscandell
Copy link
Contributor

@EduardGomezEscandell EduardGomezEscandell commented Oct 24, 2023

Landscape config is only applied to newly discovered distros (as a provisioning task). The idea is to apply it also to pre-existing distros, similar to what we do with the Pro Token.


UDENG-1602

@EduardGomezEscandell EduardGomezEscandell changed the base branch from main to landscape-client-hostagent-uid October 24, 2023 14:21
@EduardGomezEscandell
Copy link
Contributor Author

Waiting on #360 before setting it as ready

@EduardGomezEscandell EduardGomezEscandell marked this pull request as ready for review October 24, 2023 15:14
@EduardGomezEscandell EduardGomezEscandell marked this pull request as draft October 24, 2023 15:15
@EduardGomezEscandell EduardGomezEscandell force-pushed the landscape-client-hostagent-uid branch from 9cbf554 to c8b3916 Compare October 25, 2023 13:57
Base automatically changed from landscape-client-hostagent-uid to main October 25, 2023 15:36
@EduardGomezEscandell EduardGomezEscandell marked this pull request as ready for review October 25, 2023 15:38
@EduardGomezEscandell
Copy link
Contributor Author

Force-pushed to rebase main after #360

@EduardGomezEscandell EduardGomezEscandell self-assigned this Oct 26, 2023
@EduardGomezEscandell EduardGomezEscandell requested review from didrocks and removed request for didrocks October 26, 2023 07:25
Copy link
Collaborator

@didrocks didrocks left a comment

Choose a reason for hiding this comment

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

I have some questions and small comments and no idea what to put in the summary :)

windows-agent/internal/config/config.go Show resolved Hide resolved
windows-agent/internal/config/config.go Outdated Show resolved Hide resolved
windows-agent/internal/config/config.go Outdated Show resolved Hide resolved
windows-agent/internal/config/config.go Outdated Show resolved Hide resolved
windows-agent/internal/config/config.go Show resolved Hide resolved
windows-agent/internal/config/config.go Show resolved Hide resolved
windows-agent/internal/config/config.go Show resolved Hide resolved
@EduardGomezEscandell
Copy link
Contributor Author

New commits start at Rename acc -> errs

This should be a fixup to the commit before the previous one, but with
the migration from proServices to Config, it becomes too messy.

Fixes:
- Rename acc -> errs
- Rename valueIsNew to hasChanged
- Fix typo in config
- Remove endline when serializing Landscape
  We treat 'empty string' as a special value. With that \n there, the string would never be empty!
Say goodbye to a weird deferred function and an unnecessary goroutine
@EduardGomezEscandell
Copy link
Contributor Author

Force-pushed to clean up history. No changes to code.

@EduardGomezEscandell EduardGomezEscandell merged commit f41de3b into main Oct 26, 2023
33 of 34 checks passed
@EduardGomezEscandell EduardGomezEscandell deleted the cheksum-landscape branch October 26, 2023 12:35
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