Skip to content

Adding empty groups resources #25

Description

@nandha027

Hi ,

We have a requirement to add empty controller group resources under cgconf.d directory but from template ( templates/group.conf.erb ) could see no condition to achieve that .
So we modified the template to include if condition such that it will execute the each condition only when there is params variable available.
++++++++
<% if @params -%>
<% params.sort.each do |p,v| -%>
<%= p %> = <%= v %>;
<% end -%>
<% end -%>
}
<% end -%>
+++++++++
Can you please evaluate and add to the source code if you find our solutions works for you ?

Regards,
Nandha

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions