Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use 2.7 compatible syntax for accessing scope object

  • Loading branch information...
commit a913a0be5405cdb6bb7c9bf6c52e73f08d71ab2c 1 parent c193775
@adrienthebo adrienthebo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  templates/bond/opts-redhat.erb
View
2  templates/bond/opts-redhat.erb
@@ -1 +1 @@
-<%= %w[mode miimon downdelay updelay lacp_rate primary primary_reselect xmit_hash_policy].reject { |thing| scope[thing] == :undef }.map {|thing| "#{thing}=#{scope[thing]}"}.join(' ') -%>
+<%= %w[mode miimon downdelay updelay lacp_rate primary primary_reselect xmit_hash_policy].reject { |thing| scope.lookupvar(thing) == :undef }.map {|thing| "#{thing}=#{scope.lookupvar(thing)}"}.join(' ') -%>
Please sign in to comment.
Something went wrong with that request. Please try again.