From 08feb005fa4136225b6ba73f6990ea19adffc073 Mon Sep 17 00:00:00 2001 From: Mihai Galos Date: Thu, 1 Feb 2024 16:53:52 +0100 Subject: [PATCH] chore: Remove superfluous Signed-off-by: Mihai Galos --- internal/api/types/v1alpha1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/types/v1alpha1/types.go b/internal/api/types/v1alpha1/types.go index 225540cb4..74bc351c5 100644 --- a/internal/api/types/v1alpha1/types.go +++ b/internal/api/types/v1alpha1/types.go @@ -230,7 +230,7 @@ func FromGitCommitProto(g *v1alpha1.GitCommit) *kargoapi.GitCommit { if g == nil { return nil } - a := func() int { { return 1 } return 2 }() + return &kargoapi.GitCommit{ RepoURL: g.repoURLFromWriteOrRead(), ID: g.GetId(),