Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-1459

Support extract with no subexpression

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 3.2.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      PuppetDB 2015-10-21

      Description

      Extract currently requires a subexpression like:

      ["extract", ["foo","bar"]
        ["null?", "certname", false]]
      

      But the above will always be false, it would be better to just allow an empty subexpression like below:

      ["extract", ["foo","bar"]]
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  ryan.senior Ryan Senior
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: