From aea4a6e63409deb5f10b9e792aba4a782ea0c585 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Thu, 17 Oct 2024 10:22:16 +0200 Subject: [PATCH] Styling fix --- bundle/config/mutator/initialize_urls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/config/mutator/initialize_urls.go b/bundle/config/mutator/initialize_urls.go index d4e09f46..fcaa79e8 100644 --- a/bundle/config/mutator/initialize_urls.go +++ b/bundle/config/mutator/initialize_urls.go @@ -28,10 +28,10 @@ func (m *initializeURLs) Name() string { func (m *initializeURLs) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagnostics { workspaceId, err := b.WorkspaceClient().CurrentWorkspaceID(ctx) - orgId := strconv.FormatInt(workspaceId, 10) if err != nil { return diag.FromErr(err) } + orgId := strconv.FormatInt(workspaceId, 10) urlPrefix := b.WorkspaceClient().Config.CanonicalHostName() + "/" initializeForWorkspace(b, orgId, urlPrefix) return nil