Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-1752

Deleting AuthSets and Tokens uses single item delete call.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      mgo driver proviced 2 methods for deletion: Remove() for single document deletion and RemoveAll() for multi-document deletion.

      Following functions in DevAuth seem to use single document deletion on places where it's expected to match and delete multiple documents.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marcin.chalczynski Marcin Chalczynski
                Reporter:
                a10020 Maciej Mrowiec
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel