AydarZaynutdinov commented on a change in pull request #16880:
URL: https://github.com/apache/beam/pull/16880#discussion_r810040463
##########
File path: playground/backend/internal/environment/application.go
##########
@@ -99,17 +99,21 @@ type ApplicationEnvs struct {
// pipelinesFolder is name of folder in which the pipelines resources
are stored
pipelinesFolder string
+
+ // bucketName is a name of the GCS's bucket
Review comment:
Done.
##########
File path: playground/backend/internal/cloud_bucket/precompiled_objects.go
##########
@@ -229,7 +228,11 @@ func (cd *CloudStorage) getPrecompiledObjectsDirs(ctx
context.Context, targetSdk
break
}
if err != nil {
- return nil, fmt.Errorf("Bucket(%q).Objects: %v",
BucketName, err)
+ bucketAttrs, errWithAttrs := bucket.Attrs(ctx)
+ if errWithAttrs != nil {
+ return nil, fmt.Errorf("rrror during receiving
bucket's attributes: %s", err)
Review comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]