Skip to content

Commit f386581

Browse files
authored
Replace string with azcore.ETag (#22218)
Missed one in last round of clean-up.
1 parent c7abe2d commit f386581

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/data/azappconfig/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ func (c *Client) GetSnapshot(ctx context.Context, snapshotName string, options *
444444

445445
getResp, err := c.appConfigClient.GetSnapshot(ctx, snapshotName, &generated.AzureAppConfigurationClientGetSnapshotOptions{
446446
IfMatch: (*string)(options.IfMatch),
447-
IfNoneMatch: options.IfNoneMatch,
447+
IfNoneMatch: (*string)(options.IfNoneMatch),
448448
Select: options.Select,
449449
})
450450

sdk/data/azappconfig/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ type GetSnapshotOptions struct {
167167
IfMatch *azcore.ETag
168168

169169
// Used to perform an operation only if the targeted resource's etag does not match the value provided.
170-
IfNoneMatch *string
170+
IfNoneMatch *azcore.ETag
171171

172172
// Used to select what fields are present in the returned resource(s).
173173
Select []SnapshotFields

0 commit comments

Comments
 (0)