diff --git a/app/models/miq_widget_set.rb b/app/models/miq_widget_set.rb index 563dde7b94c..977f9ef50b3 100644 --- a/app/models/miq_widget_set.rb +++ b/app/models/miq_widget_set.rb @@ -62,7 +62,7 @@ def self.sync_from_file(filename) if ws if ws.updated_on.utc < File.mtime(filename).utc $log.info("Widget Set: [#{ws.description}] file has been updated on disk, synchronizing with model") - widget.update!(attrs) + ws.update!(attrs) ws.replace_children(members) end else