Skip to content

Commit d745c72

Browse files
authored
fix: skip storage version when linking (#3488)
1 parent 58ad868 commit d745c72

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

internal/services/services.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func listRemoteImages(ctx context.Context, projectRef string) map[string]string
8080
return linked
8181
}
8282
api := tenant.NewTenantAPI(ctx, projectRef, keys.Anon)
83-
wg.Add(3)
83+
wg.Add(2)
8484
go func() {
8585
defer wg.Done()
8686
if version, err := api.GetGotrueVersion(ctx); err == nil {
@@ -93,12 +93,6 @@ func listRemoteImages(ctx context.Context, projectRef string) map[string]string
9393
linked[utils.Config.Api.Image] = version
9494
}
9595
}()
96-
go func() {
97-
defer wg.Done()
98-
if version, err := api.GetStorageVersion(ctx); err == nil {
99-
linked[utils.Config.Storage.Image] = version
100-
}
101-
}()
10296
wg.Wait()
10397
return linked
10498
}

0 commit comments

Comments
 (0)