Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1954

use of 'attr' causes deprecation warning

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 3.6.0
    • None
    • None

    Description

      This line of code ...

      https://github.com/puppetlabs/puppet/blob/0061737bdbd1a70748c09328980fffe2bc843e41/lib/puppet/status.rb#L7

      ... causes deprecation warning on newer versions of ruby, including JRuby. The preferred way to write that is just attr_accessor. See PE-3054 for more info.

      Attachments

        Issue Links

          Activity

            People

              kylo Kylo Ginsberg
              kevin.corcoran Kevin Corcoran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support