Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b4e5e39

Browse files
authored
Fix some lints introduced in a recent PR. (#35193)
1 parent ad7c151 commit b4e5e39

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sdks/go/pkg/beam/runners/dataflow/dataflow.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ func checkSoftDeletePolicyEnabled(ctx context.Context, bucketName string, locati
475475
}
476476
defer client.Close()
477477

478-
if enabled, err_msg := gcsx.SoftDeletePolicyEnabled(ctx, client, bucket); err_msg != nil {
479-
log.Warnf(ctx, "Error checking SoftDeletePolicy: %v", err_msg)
478+
if enabled, errMsg := gcsx.SoftDeletePolicyEnabled(ctx, client, bucket); errMsg != nil {
479+
log.Warnf(ctx, "Error checking SoftDeletePolicy: %v", errMsg)
480480
} else if enabled {
481481
log.Warnf(ctx, "Bucket %s specified in %s has soft-delete policy enabled. "+
482482
"Dataflow jobs use Cloud Storage to store temporary files during pipeline execution. "+

0 commit comments

Comments
 (0)