Skip to content

Commit

Permalink
get bucket name
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Lombardi committed Mar 6, 2025
1 parent 02f1b42 commit d4b0a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/repository/backend_postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ func (r *PostgresBackendRepository) GetStubByExternalId(ctx context.Context, ext
`s.id, s.external_id, s.name, s.type, s.config, s.config_version, s.object_id, s.workspace_id, s.created_at, s.updated_at,
w.id AS "workspace.id", w.external_id AS "workspace.external_id", w.name AS "workspace.name", w.created_at AS "workspace.created_at", w.updated_at AS "workspace.updated_at", w.signing_key AS "workspace.signing_key", w.volume_cache_enabled AS "workspace.volume_cache_enabled", w.multi_gpu_enabled AS "workspace.multi_gpu_enabled", w.storage_id AS "workspace.storage_id",
o.id AS "object.id", o.external_id AS "object.external_id", o.hash AS "object.hash", o.size AS "object.size", o.workspace_id AS "object.workspace_id", o.created_at AS "object.created_at",
ws.id AS "storage.id", ws.external_id AS "storage.external_id", ws.access_key AS "storage.access_key", ws.secret_key AS "storage.secret_key", ws.endpoint_url AS "storage.endpoint_url", ws.region AS "storage.region", ws.created_at AS "storage.created_at", ws.updated_at AS "storage.updated_at"`,
ws.id AS "storage.id", ws.external_id AS "storage.external_id", ws.bucket_name AS "storage.bucket_name", ws.access_key AS "storage.access_key", ws.secret_key AS "storage.secret_key", ws.endpoint_url AS "storage.endpoint_url", ws.region AS "storage.region", ws.created_at AS "storage.created_at", ws.updated_at AS "storage.updated_at"`,
).
From("stub s").
Join("workspace w ON s.workspace_id = w.id").
Expand Down

0 comments on commit d4b0a13

Please sign in to comment.