From 96d2d38c5beb114a1a63489316cf32cdca6abd13 Mon Sep 17 00:00:00 2001 From: Asaf Haim <66782041+asafhm@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:53:03 +0300 Subject: [PATCH] fix(repositoryfile): use branch name in branch ref returned value --- config/repositoryfile/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/repositoryfile/config.go b/config/repositoryfile/config.go index 039f939..c716f50 100644 --- a/config/repositoryfile/config.go +++ b/config/repositoryfile/config.go @@ -15,6 +15,7 @@ func Configure(p *config.Provider) { } r.References["branch"] = config.Reference{ TerraformName: "github_branch", + Extractor: `github.com/crossplane/upjet/pkg/resource.ExtractParamPath("branch",true)`, } }) }