@@ -133,7 +133,7 @@ func (c *Client) URL() string {
133
133
func (c * Client ) NewBlobClient (blobName string ) * blob.Client {
134
134
blobName = url .PathEscape (blobName )
135
135
blobURL := runtime .JoinPaths (c .URL (), blobName )
136
- return (* blob .Client )(base .NewBlobClient (blobURL , c .generated ().InternalClient (), c .credential ()))
136
+ return (* blob .Client )(base .NewBlobClient (blobURL , c .generated ().InternalClient (). WithClientName ( shared . BlobClient ) , c .credential ()))
137
137
}
138
138
139
139
// NewAppendBlobClient creates a new appendblob.Client object by concatenating blobName to the end of
@@ -142,7 +142,7 @@ func (c *Client) NewBlobClient(blobName string) *blob.Client {
142
142
func (c * Client ) NewAppendBlobClient (blobName string ) * appendblob.Client {
143
143
blobName = url .PathEscape (blobName )
144
144
blobURL := runtime .JoinPaths (c .URL (), blobName )
145
- return (* appendblob .Client )(base .NewAppendBlobClient (blobURL , c .generated ().InternalClient (), c .sharedKey ()))
145
+ return (* appendblob .Client )(base .NewAppendBlobClient (blobURL , c .generated ().InternalClient (). WithClientName ( shared . AppendBlobClient ) , c .sharedKey ()))
146
146
}
147
147
148
148
// NewBlockBlobClient creates a new blockblob.Client object by concatenating blobName to the end of
@@ -151,7 +151,7 @@ func (c *Client) NewAppendBlobClient(blobName string) *appendblob.Client {
151
151
func (c * Client ) NewBlockBlobClient (blobName string ) * blockblob.Client {
152
152
blobName = url .PathEscape (blobName )
153
153
blobURL := runtime .JoinPaths (c .URL (), blobName )
154
- return (* blockblob .Client )(base .NewBlockBlobClient (blobURL , c .generated ().InternalClient (), c .sharedKey ()))
154
+ return (* blockblob .Client )(base .NewBlockBlobClient (blobURL , c .generated ().InternalClient (). WithClientName ( shared . BlockBlobClient ) , c .sharedKey ()))
155
155
}
156
156
157
157
// NewPageBlobClient creates a new pageblob.Client object by concatenating blobName to the end of
@@ -160,7 +160,7 @@ func (c *Client) NewBlockBlobClient(blobName string) *blockblob.Client {
160
160
func (c * Client ) NewPageBlobClient (blobName string ) * pageblob.Client {
161
161
blobName = url .PathEscape (blobName )
162
162
blobURL := runtime .JoinPaths (c .URL (), blobName )
163
- return (* pageblob .Client )(base .NewPageBlobClient (blobURL , c .generated ().InternalClient (), c .sharedKey ()))
163
+ return (* pageblob .Client )(base .NewPageBlobClient (blobURL , c .generated ().InternalClient (). WithClientName ( shared . PageBlobClient ) , c .sharedKey ()))
164
164
}
165
165
166
166
// Create creates a new container within a storage account. If a container with the same name already exists, the operation fails.
0 commit comments