Some trigger API bugs

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Minor
    • 2.1.0
    • Affects Version/s: 2.1.0
    • Component/s: API (A)

      A couple of minor problems with the trigger API:

      1. trigger.adddependencies returns a hash of trigger IDs instead of an array:

      {
      "jsonrpc": "2.0",
      "result": {
      "triggerids":

      { "14062": "14062" }

      },
      "id": 6
      }

      2. selectHosts with count for trigger.get always returns 0.

            Assignee:
            Unassigned
            Reporter:
            Pavels Jelisejevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: