Skip to content

Commit 195d672

Browse files
committed
Merge pull request Azure#168 from markcowl/cache
Fix managed cache creation issue
2 parents ab77a32 + 6072bcb commit 195d672

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2571,6 +2571,7 @@ public async Task<AzureOperationResponse> BeginCreatingCacheServiceAsync(string
25712571
}
25722572

25732573
requestContent = requestDoc.ToString();
2574+
requestContent = System.Text.RegularExpressions.Regex.Replace(requestContent, "<IntrinsicSettings>\\s*<CacheServiceInput", "<IntrinsicSettings><CacheServiceInput");
25742575
httpRequest.Content = new StringContent(requestContent, Encoding.UTF8);
25752576
httpRequest.Content.Headers.ContentType = MediaTypeHeaderValue.Parse("application/xml");
25762577

0 commit comments

Comments
 (0)