From 2f825bd34fc25c6158ac0d3ca0d8b797df90c2de Mon Sep 17 00:00:00 2001 From: Jason Yang Date: Tue, 28 Nov 2017 10:58:00 +0800 Subject: [PATCH] Fixed the bug that file LMT not updated after set metadata. --- Microsoft.WindowsAzure.Storage/src/cloud_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Microsoft.WindowsAzure.Storage/src/cloud_file.cpp b/Microsoft.WindowsAzure.Storage/src/cloud_file.cpp index 01799cb6..e2b96ca8 100644 --- a/Microsoft.WindowsAzure.Storage/src/cloud_file.cpp +++ b/Microsoft.WindowsAzure.Storage/src/cloud_file.cpp @@ -229,7 +229,7 @@ namespace azure { namespace storage { command->set_preprocess_response([properties](const web::http::http_response& response, const request_result& result, operation_context context) { protocol::preprocess_response_void(response, result, context); - properties->update_etag(protocol::file_response_parsers::parse_file_properties(response)); + properties->update_etag_and_last_modified(protocol::file_response_parsers::parse_file_properties(response)); }); return core::executor::execute_async(command, modified_options, context);