-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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: add enable field for automatedSync #21999
feat: add enable field for automatedSync #21999
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
@andrii-korotkov-verkada can you also recommend what would be the best place for documenting this change, I was able to find one doc that might be a good place to mentaion this change. |
Yeah, that doc looks good |
29f8a81
to
6538e23
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #21999 +/- ##
==========================================
+ Coverage 55.87% 55.89% +0.01%
==========================================
Files 343 343
Lines 57331 57332 +1
==========================================
+ Hits 32034 32044 +10
+ Misses 22649 22639 -10
- Partials 2648 2649 +1 ☔ View full report in Codecov by Sentry. |
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.
Mostly lgtm, but seems like we can simplify by returning bool instead of pointer to bool
Lint tests are failing with these errors
when I tried fixing this I didnt see any methods in |
This |
I can not see any 1.24.1 release on the golangci-lint releases page |
Adding enable field to explicitly set in automatedSync in SyncPolicy Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
3ff96eb
to
8b0c6ca
Compare
Signed-off-by: Anand Kumar Singh <[email protected]>
8b0c6ca
to
e140abc
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.
LGTM.
Signed-off-by: Anand Kumar Singh <[email protected]>
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.
Overall looks good to me. I have some nits, PTAL.
Signed-off-by: Anand Kumar Singh <[email protected]>
a5cc14a
to
36510cf
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.
LGTM
Is it too late to change the name of the flag from |
I can create a new PR updating the field name to be |
Opened up a PR to update field name. |
Signed-off-by: Anand Kumar Singh <[email protected]>
Adding enable field to explicitly set in automatedSync in SyncPolicy
Fixes #21647
This PR add a boolean field named
enable
inSpec.SyncPolicy.Automated
for explicitly enabling or disabling automatedSync.These changes don't affect the current behaviour.
This field can be set using
Checklist: