From d76714ad8288b03e776e39aaeab2b901a8f07e33 Mon Sep 17 00:00:00 2001 From: asr2003 <162500856+asr2003@users.noreply.github.com> Date: Sat, 14 Dec 2024 10:04:17 +0530 Subject: [PATCH] Update resource_info.rs --- nativelink-util/src/resource_info.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/nativelink-util/src/resource_info.rs b/nativelink-util/src/resource_info.rs index b7726087f..1fb8356a4 100644 --- a/nativelink-util/src/resource_info.rs +++ b/nativelink-util/src/resource_info.rs @@ -105,7 +105,6 @@ impl<'a> ResourceInfo<'a> { &mut end_bytes_processed, ) .err_tip(|| format!("{ERROR_MSG} in {resource_name}"))?; - error_if!( end_state != State::OptionalMetadata, "Expected the final state to be OptionalMetadata. Got: {end_state:?} for {resource_name} is_upload: {is_upload}"