Skip to content

Commit

Permalink
Merge pull request #1963 from Azure/gapra/getACLOAuth
Browse files Browse the repository at this point in the history
Fixed a bug where preserve permissions would not work with OAuth
  • Loading branch information
gapra-msft authored Nov 21, 2022
2 parents f3ef735 + 21bea31 commit e6c1b7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ste/mgr-JobPartMgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,9 @@ func (jpm *jobPartMgr) createPipelines(ctx context.Context) {

// Consider the ADLSG2->ADLSG2 ACLs case
if fromTo == common.EFromTo.BlobBlob() && jpm.Plan().PreservePermissions.IsTruthy() {
credential := common.CreateBlobFSCredential(ctx, credInfo, credOption)
jpm.secondarySourceProviderPipeline = NewBlobFSPipeline(
azbfs.NewAnonymousCredential(),
credential,
azbfs.PipelineOptions{
Log: jpm.jobMgr.PipelineLogInfo(),
Telemetry: azbfs.TelemetryOptions{
Expand Down

0 comments on commit e6c1b7a

Please sign in to comment.