From d61c1c9b22f9801da4db820ad0cc4806dffc8c9d Mon Sep 17 00:00:00 2001 From: Victor Vrantchan Date: Mon, 16 Oct 2017 00:02:24 -0400 Subject: [PATCH] marshal install_action key (#244) --- command/event.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/event.go b/command/event.go index 4acd5e77..370a486d 100644 --- a/command/event.go +++ b/command/event.go @@ -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{