mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-05 17:05:51 +08:00
This commit is contained in:
@@ -91,7 +91,9 @@ func (q *QueueInMem) Next(_ context.Context, resp mdm.Response) ([]byte, error)
|
||||
switch resp.Status {
|
||||
case "NotNow":
|
||||
qCmd, _ := q.findCommandByUUID(l, resp.CommandUUID)
|
||||
qCmd.notNow = true
|
||||
if qCmd != nil {
|
||||
qCmd.notNow = true
|
||||
}
|
||||
case "Acknowledged", "Error", "CommandFormatError":
|
||||
_, e := q.findCommandByUUID(l, resp.CommandUUID)
|
||||
if e != nil {
|
||||
|
||||
Reference in New Issue
Block a user