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

exported resources with single element arrays aren't arrays on the collected side

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PDB 1.5.0
    • Fix Version/s: None
    • Component/s: None
    • Template:
    • Story Points:
      3

      Description

      If I export a defined type with an array for one of the parameters, but only containing one element, it doesn't appear to be an array on the collecting side (using puppetlabs-stdlib/is_array). Adding a second blank element resolved this.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              redmine.exporter redmine.exporter
            • Votes:
              8 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support