Project

General

Profile

« Previous | Next » 

Revision 041436c8

Added by Timo Goebel almost 8 years ago

fixes #14663 - support IPv6 DNS orchestration

View differences:

app/models/concerns/orchestration.rb
end
def execute(opts = {})
obj, met = opts[:action]
obj, met, param = opts[:action]
rollback = opts[:rollback] || false
# at the moment, rollback are expected to replace set with del in the method name
if rollback
......
met = met.to_sym
end
if obj.respond_to?(met,true)
param.nil? || (return obj.send(met, param))
return obj.send(met)
else
failure _("invalid method %s") % met

Also available in: Unified diff