Skip to content

Restrict the 'start_event_grains' only to the start events#55885

Merged
dwoz merged 2 commits intosaltstack:masterfrom
admd:startup_grains-only-in-start-event
Jan 21, 2020
Merged

Restrict the 'start_event_grains' only to the start events#55885
dwoz merged 2 commits intosaltstack:masterfrom
admd:startup_grains-only-in-start-event

Conversation

@admd
Copy link
Contributor

@admd admd commented Jan 16, 2020

What does this PR do?

#54948 introduced an unintended effect where start_event_grains were being passed to events other than start event, which wasn't the idea. This PR restrict these grains to startup events.

What issues does this PR fix or reference?

#55870

Previous Behavior

Grains defined against start_event_grains were being passed to events other that start events.

New Behavior

Grains defined against start_event_grains are being passed to only start events

Tests written?

The existing test has been modified

Yes

Commits signed with GPG?

No

@admd admd requested a review from a team as a code owner January 16, 2020 10:35
@ghost ghost requested a review from DmitryKuzmenko January 16, 2020 10:35
@admd
Copy link
Contributor Author

admd commented Jan 16, 2020

Thank you @max-arnold for noticing it. It would be nice if you could test it as well.
cc @waynew

@Ch3LL Ch3LL added the Neon label Jan 16, 2020
@dwoz dwoz merged commit 762fdde into saltstack:master Jan 21, 2020
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.

4 participants