From b1f576000de06203744d588ddb6744e859886bf5 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Tue, 9 Jan 2024 07:21:40 -0800 Subject: [PATCH] Replace string with azcore.ETag Missed one in last round of clean-up. --- sdk/data/azappconfig/client.go | 2 +- sdk/data/azappconfig/options.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/data/azappconfig/client.go b/sdk/data/azappconfig/client.go index fe6ccc9f982c..aea6bab6732b 100644 --- a/sdk/data/azappconfig/client.go +++ b/sdk/data/azappconfig/client.go @@ -444,7 +444,7 @@ func (c *Client) GetSnapshot(ctx context.Context, snapshotName string, options * getResp, err := c.appConfigClient.GetSnapshot(ctx, snapshotName, &generated.AzureAppConfigurationClientGetSnapshotOptions{ IfMatch: (*string)(options.IfMatch), - IfNoneMatch: options.IfNoneMatch, + IfNoneMatch: (*string)(options.IfNoneMatch), Select: options.Select, }) diff --git a/sdk/data/azappconfig/options.go b/sdk/data/azappconfig/options.go index 8f0c8937eff4..5fd21e38d9c4 100644 --- a/sdk/data/azappconfig/options.go +++ b/sdk/data/azappconfig/options.go @@ -167,7 +167,7 @@ type GetSnapshotOptions struct { IfMatch *azcore.ETag // Used to perform an operation only if the targeted resource's etag does not match the value provided. - IfNoneMatch *string + IfNoneMatch *azcore.ETag // Used to select what fields are present in the returned resource(s). Select []SnapshotFields