From e1dce216e692096afe69d3e2b2c581f26d1dcaba Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Fri, 27 Oct 2023 12:16:05 -0400 Subject: [PATCH] Builtin content doesn't have a git repository --- .../automation_manager/configuration_script_source.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/models/manageiq/providers/workflows/automation_manager/configuration_script_source.rb b/app/models/manageiq/providers/workflows/automation_manager/configuration_script_source.rb index e8d3502..060ddae 100644 --- a/app/models/manageiq/providers/workflows/automation_manager/configuration_script_source.rb +++ b/app/models/manageiq/providers/workflows/automation_manager/configuration_script_source.rb @@ -12,6 +12,11 @@ def self.seed manager.configuration_script_sources.find_or_create_by!(:type => name, :name => "Embedded Workflows") end + def git_repository + return super unless name == "Embedded Workflows" + nil + end + def sync update!(:status => "running")