Skip to content

Commit

Permalink
pull out fix for mainline commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepeterson committed Aug 28, 2023
1 parent 3f97cec commit f75ed3b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions storage/mysql/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ func enqueue(ctx context.Context, tx *sql.Tx, ids []string, cmd *mdm.Command) er
`INSERT INTO commands (command_uuid, request_type, command) VALUES (?, ?, ?);`,
cmd.CommandUUID, cmd.Command.RequestType, cmd.Raw,
)
if err != nil {
return err
}
query := `INSERT INTO enrollment_queue (id, command_uuid) VALUES (?, ?)`
query += strings.Repeat(", (?, ?)", len(ids)-1)
args := make([]interface{}, len(ids)*2)
Expand Down

0 comments on commit f75ed3b

Please sign in to comment.