mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-09 02:55:59 +08:00
Co-authored-by: tperfitt <tperfitt@twocanoes.com>
This commit is contained in:
@@ -189,7 +189,8 @@ func (w *Worker) applyToDevice(ctx context.Context, bp Blueprint, udid string) e
|
||||
})
|
||||
}
|
||||
|
||||
for _, appURL := range bp.ApplicationURLs {
|
||||
for i := range bp.ApplicationURLs {
|
||||
appURL := &bp.ApplicationURLs[i]
|
||||
level.Debug(w.logger).Log(
|
||||
"msg", "creating mdm command request from blueprint",
|
||||
"request_type", "InstallApplication",
|
||||
@@ -203,7 +204,7 @@ func (w *Worker) applyToDevice(ctx context.Context, bp Blueprint, udid string) e
|
||||
Command: &mdm.Command{
|
||||
RequestType: "InstallApplication",
|
||||
InstallApplication: &mdm.InstallApplication{
|
||||
ManifestURL: &appURL,
|
||||
ManifestURL: appURL,
|
||||
ManagementFlags: intPtr(1),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user