Styling fix

This commit is contained in:
Lennart Kats 2024-10-17 10:22:16 +02:00
parent 6218539a5e
commit aea4a6e634
No known key found for this signature in database
GPG Key ID: 1EB8B57673197023
1 changed files with 1 additions and 1 deletions

View File

@ -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