diff --git a/lib/kuber_kit/artifacts_sync/strategies/git_updater.rb b/lib/kuber_kit/artifacts_sync/strategies/git_updater.rb index 30797eb..49fa88e 100644 --- a/lib/kuber_kit/artifacts_sync/strategies/git_updater.rb +++ b/lib/kuber_kit/artifacts_sync/strategies/git_updater.rb @@ -37,7 +37,7 @@ def artifact_already_cloned?(shell:, repo_path:, artifact:) end target_branch = git_commands.get_branch_name(shell, repo_path) - if target_branch != artifact.branch + if target_branch != artifact.branch.to_s return false end