Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix accidental port changing when using systemd templates. #260

Merged
merged 1 commit into from
Jan 30, 2015

Commits on Jan 15, 2015

  1. Fix accidental port changing when using systemd templates.

    When you use `port.gsub!` - you are changing the value  port variable
    itself, and as long as the value is not local to this method, but
    is a part of new_resource record (when it's passed as an array or
    string) - the previous code will modify `new_resource.port` instance
    variable.
    fxposter committed Jan 15, 2015
    Configuration menu
    Copy the full SHA
    f4cc594 View commit details
    Browse the repository at this point in the history