marshal install_action key (#244)

This commit is contained in:
Victor Vrantchan
2017-10-16 00:02:24 -04:00
committed by GitHub
parent 8724f75a5d
commit d61c1c9b22

View File

@@ -53,7 +53,8 @@ func MarshalEvent(e *Event) ([]byte, error) {
var updates []*commandproto.OSUpdate
for _, update := range p.Updates {
updates = append(updates, &commandproto.OSUpdate{
ProductKey: update.ProductKey,
ProductKey: update.ProductKey,
InstallAction: update.InstallAction,
})
}
payload.Command.ScheduleOsUpdate = &commandproto.ScheduleOSUpdate{