event.send double-nests data #34341
Labels
Bug
broken, incorrect, or confusing behavior
Confirmed
Salt engineer has confirmed bug/feature - often including a MCVE
Execution-Module
P4
Priority 4
Platform
Relates to OS, containers, platform-based utilities like FS, system based apps
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
stale
Milestone
Description of Issue/Question
Calling event.send with data nests that data inside the existing data dict. This makes it impossible to for example test salt-cloud reactors without actually running salt-cloud
Setup
Run salt-cloud, observe the deploying event contains host: new_ip_address. Attempt to mock this event using the following:
Observe that the generated event has data nested inside data, breaking the mock.
There appears to be no way to actually insert entires directly in the data object.
Versions Report
The text was updated successfully, but these errors were encountered: