Skip to content

Adding empty groups resources #25

@nandha027

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions