From 29be4310888a77b309a02524d88678410f762ced Mon Sep 17 00:00:00 2001 From: tanyasethi-msft Date: Tue, 2 Jan 2024 18:16:35 +0530 Subject: [PATCH 1/4] upgrade to latest version of azblob with test fixes --- sdk/storage/azdatalake/file/client_test.go | 53 ++++++++++++++++------ sdk/storage/azdatalake/go.mod | 24 +++++----- sdk/storage/azdatalake/go.sum | 53 +++++++++++----------- 3 files changed, 76 insertions(+), 54 deletions(-) diff --git a/sdk/storage/azdatalake/file/client_test.go b/sdk/storage/azdatalake/file/client_test.go index 7294f001d8c4..8fd29746f138 100644 --- a/sdk/storage/azdatalake/file/client_test.go +++ b/sdk/storage/azdatalake/file/client_test.go @@ -3717,10 +3717,6 @@ func (s *RecordedTestSuite) TestFileUploadDownloadSmallFile() { err = os.Remove(name) _require.NoError(err) }(destFileName) - defer func(destFile *os.File) { - err = destFile.Close() - _require.NoError(err) - }(destFile) cnt, err := fClient.DownloadFile(context.Background(), destFile, &file.DownloadFileOptions{ ChunkSize: 2 * 1024, @@ -3729,8 +3725,18 @@ func (s *RecordedTestSuite) TestFileUploadDownloadSmallFile() { _require.NoError(err) _require.Equal(cnt, fileSize) + err = destFile.Close() + _require.NoError(err) + + newDestFileHandle, err := os.Open(destFileName) + _require.NoError(err) + defer func(file *os.File) { + err = file.Close() + _require.NoError(err) + }(newDestFileHandle) + destHash := md5.New() - _, err = io.Copy(destHash, destFile) + _, err = io.Copy(destHash, newDestFileHandle) _require.NoError(err) downloadedContentMD5 := destHash.Sum(nil) @@ -3739,6 +3745,7 @@ func (s *RecordedTestSuite) TestFileUploadDownloadSmallFile() { gResp2, err := fClient.GetProperties(context.Background(), nil) _require.NoError(err) _require.Equal(*gResp2.ContentLength, fileSize) + } func (s *RecordedTestSuite) TestFileUploadDownloadSmallFileWithRange() { @@ -3796,10 +3803,10 @@ func (s *RecordedTestSuite) TestFileUploadDownloadSmallFileWithRange() { err = os.Remove(name) _require.NoError(err) }(destFileName) - defer func(destFile *os.File) { - err = destFile.Close() - _require.NoError(err) - }(destFile) + //defer func(destFile *os.File) { + // err = destFile.Close() + // _require.NoError(err) + //}(destFile) cnt, err := fClient.DownloadFile(context.Background(), destFile, &file.DownloadFileOptions{ ChunkSize: 2 * 1024, @@ -3812,8 +3819,18 @@ func (s *RecordedTestSuite) TestFileUploadDownloadSmallFileWithRange() { _require.NoError(err) _require.Equal(cnt, fileSize) + err = destFile.Close() + _require.NoError(err) + + newDestFileHandle, err := os.Open(destFileName) + _require.NoError(err) + defer func(file *os.File) { + err = file.Close() + _require.NoError(err) + }(newDestFileHandle) + destHash := md5.New() - _, err = io.Copy(destHash, destFile) + _, err = io.Copy(destHash, newDestFileHandle) _require.NoError(err) downloadedContentMD5 := destHash.Sum(nil) @@ -3880,10 +3897,6 @@ func (s *RecordedTestSuite) TestFileUploadDownloadSmallFileWithAccessConditions( err = os.Remove(name) _require.NoError(err) }(destFileName) - defer func(destFile *os.File) { - err = destFile.Close() - _require.NoError(err) - }(destFile) cnt, err := fClient.DownloadFile(context.Background(), destFile, &file.DownloadFileOptions{ ChunkSize: 2 * 1024, @@ -3901,8 +3914,18 @@ func (s *RecordedTestSuite) TestFileUploadDownloadSmallFileWithAccessConditions( _require.NoError(err) _require.Equal(cnt, fileSize) + err = destFile.Close() + _require.NoError(err) + + newDestFileHandle, err := os.Open(destFileName) + _require.NoError(err) + defer func(file *os.File) { + err = file.Close() + _require.NoError(err) + }(newDestFileHandle) + destHash := md5.New() - _, err = io.Copy(destHash, destFile) + _, err = io.Copy(destHash, newDestFileHandle) _require.NoError(err) downloadedContentMD5 := destHash.Sum(nil) diff --git a/sdk/storage/azdatalake/go.mod b/sdk/storage/azdatalake/go.mod index 32183804dae3..00da39c2ff63 100644 --- a/sdk/storage/azdatalake/go.mod +++ b/sdk/storage/azdatalake/go.mod @@ -3,26 +3,26 @@ module github.com/Azure/azure-sdk-for-go/sdk/storage/azdatalake go 1.18 require ( - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.0 - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0 - github.com/Azure/azure-sdk-for-go/sdk/internal v1.4.0 - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 + github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 + github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1 github.com/stretchr/testify v1.8.4 ) require ( - github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v1.1.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dnaeon/go-vcr v1.2.0 // indirect - github.com/golang-jwt/jwt v3.2.1+incompatible // indirect - github.com/google/uuid v1.1.1 // indirect + github.com/golang-jwt/jwt/v5 v5.0.0 // indirect + github.com/google/uuid v1.3.1 // indirect github.com/kylelemons/godebug v1.1.0 // indirect - github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect + github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - golang.org/x/crypto v0.14.0 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/sys v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect + golang.org/x/crypto v0.16.0 // indirect + golang.org/x/net v0.19.0 // indirect + golang.org/x/sys v0.15.0 // indirect + golang.org/x/text v0.14.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/sdk/storage/azdatalake/go.sum b/sdk/storage/azdatalake/go.sum index 6712a77cdedc..8b9bf9c44f9e 100644 --- a/sdk/storage/azdatalake/go.sum +++ b/sdk/storage/azdatalake/go.sum @@ -1,41 +1,40 @@ -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.0 h1:8q4SaHjFsClSvuVne0ID/5Ka8u3fcIHyqkLjcFpNRHQ= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0 h1:QkAcEIAKbNL4KoFr4SathZPhDhF4mVwpBMFlYjyAqy8= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0/go.mod h1:bhXu1AjYL+wutSL/kpSq6s7733q2Rb0yuot9Zgfqa/0= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.4.0 h1:TuEMD+E+1aTjjLICGQOW6vLe8UWES7kopac9mUXL56Y= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.4.0/go.mod h1:s4kgfzA0covAXNicZHDMN58jExvcng2mC/DepXiF1EI= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 h1:u/LLAOFgsMv7HmNL4Qufg58y+qElGOt5qv0z1mURkRY= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0/go.mod h1:2e8rMJtl2+2j+HXbTBwnyGpm5Nou7KhvSfxOq8JpTag= -github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 h1:BWe8a+f/t+7KY7zH2mqygeUD0t8hNFXe08p1Pb3/jKE= -github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 h1:lGlwhPtrX6EVml1hO0ivjkUxsSyl4dsiw9qcA1k/3IQ= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1/go.mod h1:RKUqNu35KJYcVG/fqTRqmuXJZYNhYkBrnC/hX7yGbTA= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 h1:BMAjVKJM0U/CYF27gA0ZMmXGkOcvfFtD0oHVZ1TIPRI= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0/go.mod h1:1fXstnBMas5kzG+S3q8UoJcmyU6nUeunJcMDHcRYHhs= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 h1:6oNBlSdi1QqM1PNW7FPA6xOGA5UNsXnkaYZz9vdPGhA= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1/go.mod h1:s4kgfzA0covAXNicZHDMN58jExvcng2mC/DepXiF1EI= +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.5.0 h1:AifHbc4mg0x9zW52WOpKbsHaDKuRhlI7TVl47thgQ70= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1 h1:AMf7YbZOZIW5b66cXNHMWWT/zkjhz5+a+k/3x40EO7E= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1/go.mod h1:uwfk06ZBcvL/g4VHNjurPfVln9NMbsk2XIZxJ+hu81k= +github.com/AzureAD/microsoft-authentication-library-for-go v1.1.1 h1:WpB/QDNLpMw72xHJc34BNNykqSOeEJDAWkhf0u12/Jk= +github.com/AzureAD/microsoft-authentication-library-for-go v1.1.1/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= -github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= -github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU= -github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE= +github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= +github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= -github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= -golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= +golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= +golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= +golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= +golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= From 2f107efc213b8caaf70ce09ad82ba91b4e48e875 Mon Sep 17 00:00:00 2001 From: tanyasethi-msft Date: Wed, 10 Jan 2024 12:14:45 +0530 Subject: [PATCH 2/4] [azdatalake] STG 82 Preview --- sdk/storage/azdatalake/CHANGELOG.md | 6 ++---- sdk/storage/azdatalake/go.mod | 2 +- sdk/storage/azdatalake/go.sum | 4 ++-- sdk/storage/azdatalake/internal/exported/version.go | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/sdk/storage/azdatalake/CHANGELOG.md b/sdk/storage/azdatalake/CHANGELOG.md index 40d907997e00..3db9f9398753 100644 --- a/sdk/storage/azdatalake/CHANGELOG.md +++ b/sdk/storage/azdatalake/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.0.1 (Unreleased) +## v1.1.0-beta.1 ### Features Added * Encryption Scope For SAS @@ -8,14 +8,12 @@ * Create SubDirectory Client * Service Version upgrade to 2021-06-08 -### Breaking Changes - ### Bugs Fixed * Block `SharedKeyCredential` authentication mode for non TLS protected endpoints. Fixes [#21841](https://github.com/Azure/azure-sdk-for-go/issues/21841). ### Other Changes -* Updated version of azblob to 1.2.1 +* Updated version of azblob to `1.2.1` * Updated azcore version to `1.9.1` and azidentity version to `1.4.0`. ## 1.0.0 (2023-10-18) diff --git a/sdk/storage/azdatalake/go.mod b/sdk/storage/azdatalake/go.mod index 00da39c2ff63..8f932dde60df 100644 --- a/sdk/storage/azdatalake/go.mod +++ b/sdk/storage/azdatalake/go.mod @@ -6,7 +6,7 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1 + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.0-beta.1 github.com/stretchr/testify v1.8.4 ) diff --git a/sdk/storage/azdatalake/go.sum b/sdk/storage/azdatalake/go.sum index 8b9bf9c44f9e..55adef4e4463 100644 --- a/sdk/storage/azdatalake/go.sum +++ b/sdk/storage/azdatalake/go.sum @@ -5,8 +5,8 @@ github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0/go.mod h1:1fXstnBMas5kzG github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 h1:6oNBlSdi1QqM1PNW7FPA6xOGA5UNsXnkaYZz9vdPGhA= github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1/go.mod h1:s4kgfzA0covAXNicZHDMN58jExvcng2mC/DepXiF1EI= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.5.0 h1:AifHbc4mg0x9zW52WOpKbsHaDKuRhlI7TVl47thgQ70= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1 h1:AMf7YbZOZIW5b66cXNHMWWT/zkjhz5+a+k/3x40EO7E= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1/go.mod h1:uwfk06ZBcvL/g4VHNjurPfVln9NMbsk2XIZxJ+hu81k= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.0-beta.1 h1:tAJ+HBDRqjXv0TC2qVCk/FWezBU8OKifQ19cUeNXM9M= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.0-beta.1/go.mod h1:uwfk06ZBcvL/g4VHNjurPfVln9NMbsk2XIZxJ+hu81k= github.com/AzureAD/microsoft-authentication-library-for-go v1.1.1 h1:WpB/QDNLpMw72xHJc34BNNykqSOeEJDAWkhf0u12/Jk= github.com/AzureAD/microsoft-authentication-library-for-go v1.1.1/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= diff --git a/sdk/storage/azdatalake/internal/exported/version.go b/sdk/storage/azdatalake/internal/exported/version.go index 504e59cc444c..65cddb2cbbc3 100644 --- a/sdk/storage/azdatalake/internal/exported/version.go +++ b/sdk/storage/azdatalake/internal/exported/version.go @@ -8,5 +8,5 @@ package exported const ( ModuleName = "azdatalake" - ModuleVersion = "v1.0.1" + ModuleVersion = "v1.1.0-beta.1" ) From a7847840f68532a033c5ae57138064e3e4bee51b Mon Sep 17 00:00:00 2001 From: tanyasethi-msft Date: Wed, 17 Jan 2024 14:25:32 +0530 Subject: [PATCH 3/4] module name update --- sdk/storage/azblob/internal/shared/shared.go | 12 ++++++------ sdk/storage/azdatalake/internal/shared/shared.go | 8 ++++---- sdk/storage/azfile/internal/shared/shared.go | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/sdk/storage/azblob/internal/shared/shared.go b/sdk/storage/azblob/internal/shared/shared.go index c131facf7b7f..c8d7c975d2ef 100644 --- a/sdk/storage/azblob/internal/shared/shared.go +++ b/sdk/storage/azblob/internal/shared/shared.go @@ -45,12 +45,12 @@ const ( const crc64Polynomial uint64 = 0x9A6C9329AC4BC9B5 const ( - AppendBlobClient = "azblob/appendblob.Client" - BlobClient = "azblob/blob.Client" - BlockBlobClient = "azblob/blockblob.Client" - ContainerClient = "azblob/container.Client" - PageBlobClient = "azblob/pageblob.Client" - ServiceClient = "azblob/service.Client" + AppendBlobClient = "azblob.appendblob" + BlobClient = "azblob.blob" + BlockBlobClient = "azblob.blockblob" + ContainerClient = "azblob.container" + PageBlobClient = "azblob.pageblob" + ServiceClient = "azblob.service" ) var CRC64Table = crc64.MakeTable(crc64Polynomial) diff --git a/sdk/storage/azdatalake/internal/shared/shared.go b/sdk/storage/azdatalake/internal/shared/shared.go index f6ae4ea2fe66..6f5fd8ce50cc 100644 --- a/sdk/storage/azdatalake/internal/shared/shared.go +++ b/sdk/storage/azdatalake/internal/shared/shared.go @@ -25,10 +25,10 @@ const ( ) const ( - ServiceClient = "azdatalake/service.Client" - FileSystemClient = "azdatalake/filesystem.Client" - DirectoryClient = "azdatalake/directory.Client" - FileClient = "azdatalake/file.Client" + ServiceClient = "azdatalake.service" + FileSystemClient = "azdatalake.filesystem" + DirectoryClient = "azdatalake.directory" + FileClient = "azdatalake.file" ) const ( diff --git a/sdk/storage/azfile/internal/shared/shared.go b/sdk/storage/azfile/internal/shared/shared.go index 4b8140f68556..ac218ea8025c 100644 --- a/sdk/storage/azfile/internal/shared/shared.go +++ b/sdk/storage/azfile/internal/shared/shared.go @@ -63,10 +63,10 @@ const ( ) const ( - ServiceClient = "azfile/service.Client" - ShareClient = "azfile/share.Client" - DirectoryClient = "azfile/directory.Client" - FileClient = "azfile/file.Client" + ServiceClient = "azfile.service" + ShareClient = "azfile.share" + DirectoryClient = "azfile.directory" + FileClient = "azfile.file" ) func GetClientOptions[T any](o *T) *T { From 6e012f6e3411a66af19bf04bb9282694948a21f0 Mon Sep 17 00:00:00 2001 From: tanyasethi-msft Date: Wed, 17 Jan 2024 17:54:46 +0530 Subject: [PATCH 4/4] azdatalake recordings --- sdk/storage/azdatalake/assets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/storage/azdatalake/assets.json b/sdk/storage/azdatalake/assets.json index 626d6568abd4..6deb04f48fed 100644 --- a/sdk/storage/azdatalake/assets.json +++ b/sdk/storage/azdatalake/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "go", "TagPrefix": "go/storage/azdatalake", - "Tag": "go/storage/azdatalake_3ae5e1441b" + "Tag": "go/storage/azdatalake_74b90526e2" }