From af2eaff91ceb2db033f373a266556b22c75e8c7a Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Tue, 23 Jul 2019 16:39:59 -0400 Subject: [PATCH] Oops. Fix broken widget set seed. Broken by typo in: https://github.com/ManageIQ/manageiq/pull/19026 --- app/models/miq_widget_set.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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