fix
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				BlockStorage/repertory/pipeline/head There was a failure building this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	BlockStorage/repertory/pipeline/head There was a failure building this commit
				
			This commit is contained in:
		| @@ -56,7 +56,7 @@ struct local_s3_no_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct local_s3_encryption final { | struct local_s3_encryption final { | ||||||
| @@ -64,7 +64,7 @@ struct local_s3_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{"encryption_token"}; |   static constexpr std::string_view encryption_token{"encryption_token"}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct local_s3_legacy_encryption final { | struct local_s3_legacy_encryption final { | ||||||
| @@ -72,7 +72,7 @@ struct local_s3_legacy_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{true}; |   static constexpr bool force_legacy_encryption{true}; | ||||||
|   static constexpr std::string encryption_token{"encryption_token"}; |   static constexpr std::string_view encryption_token{"encryption_token"}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_s3_no_encryption final { | struct remote_s3_no_encryption final { | ||||||
| @@ -80,7 +80,7 @@ struct remote_s3_no_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_s3_encryption final { | struct remote_s3_encryption final { | ||||||
| @@ -88,7 +88,7 @@ struct remote_s3_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{"encryption_token"}; |   static constexpr std::string_view encryption_token{"encryption_token"}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_s3_legacy_encryption final { | struct remote_s3_legacy_encryption final { | ||||||
| @@ -96,7 +96,7 @@ struct remote_s3_legacy_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{true}; |   static constexpr bool force_legacy_encryption{true}; | ||||||
|   static constexpr std::string encryption_token{"encryption_token"}; |   static constexpr std::string_view encryption_token{"encryption_token"}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct local_sia final { | struct local_sia final { | ||||||
| @@ -104,7 +104,7 @@ struct local_sia final { | |||||||
|   static constexpr provider_type type2{provider_type::sia}; |   static constexpr provider_type type2{provider_type::sia}; | ||||||
|   static constexpr std::uint16_t remote_port{41001U}; |   static constexpr std::uint16_t remote_port{41001U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_sia final { | struct remote_sia final { | ||||||
| @@ -112,7 +112,7 @@ struct remote_sia final { | |||||||
|   static constexpr provider_type type2{provider_type::sia}; |   static constexpr provider_type type2{provider_type::sia}; | ||||||
|   static constexpr std::uint16_t remote_port{41001U}; |   static constexpr std::uint16_t remote_port{41001U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_linux_to_winfsp final { | struct remote_linux_to_winfsp final { | ||||||
| @@ -120,7 +120,7 @@ struct remote_linux_to_winfsp final { | |||||||
|   static constexpr provider_type type2{provider_type::unknown}; |   static constexpr provider_type type2{provider_type::unknown}; | ||||||
|   static constexpr std::uint16_t remote_port{41002U}; |   static constexpr std::uint16_t remote_port{41002U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| template <typename provider_t> class fuse_test : public ::testing::Test { | template <typename provider_t> class fuse_test : public ::testing::Test { | ||||||
|   | |||||||
| @@ -47,7 +47,7 @@ struct local_s3_no_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct local_s3_encryption final { | struct local_s3_encryption final { | ||||||
| @@ -55,7 +55,7 @@ struct local_s3_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{"encryption_token"}; |   static constexpr std::string_view encryption_token{"encryption_token"}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct local_s3_legacy_encryption final { | struct local_s3_legacy_encryption final { | ||||||
| @@ -63,7 +63,7 @@ struct local_s3_legacy_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{true}; |   static constexpr bool force_legacy_encryption{true}; | ||||||
|   static constexpr std::string encryption_token{"encryption_token"}; |   static constexpr std::string_view encryption_token{"encryption_token"}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_s3_no_encryption final { | struct remote_s3_no_encryption final { | ||||||
| @@ -71,7 +71,7 @@ struct remote_s3_no_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_s3_encryption final { | struct remote_s3_encryption final { | ||||||
| @@ -79,7 +79,7 @@ struct remote_s3_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{"encryption_token"}; |   static constexpr std::string_view encryption_token{"encryption_token"}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_s3_legacy_encryption final { | struct remote_s3_legacy_encryption final { | ||||||
| @@ -87,7 +87,7 @@ struct remote_s3_legacy_encryption final { | |||||||
|   static constexpr provider_type type2{provider_type::s3}; |   static constexpr provider_type type2{provider_type::s3}; | ||||||
|   static constexpr std::uint16_t remote_port{41000U}; |   static constexpr std::uint16_t remote_port{41000U}; | ||||||
|   static constexpr bool force_legacy_encryption{true}; |   static constexpr bool force_legacy_encryption{true}; | ||||||
|   static constexpr std::string encryption_token{"encryption_token"}; |   static constexpr std::string_view encryption_token{"encryption_token"}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct local_sia final { | struct local_sia final { | ||||||
| @@ -95,7 +95,7 @@ struct local_sia final { | |||||||
|   static constexpr provider_type type2{provider_type::sia}; |   static constexpr provider_type type2{provider_type::sia}; | ||||||
|   static constexpr std::uint16_t remote_port{41001U}; |   static constexpr std::uint16_t remote_port{41001U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_sia final { | struct remote_sia final { | ||||||
| @@ -103,7 +103,7 @@ struct remote_sia final { | |||||||
|   static constexpr provider_type type2{provider_type::sia}; |   static constexpr provider_type type2{provider_type::sia}; | ||||||
|   static constexpr std::uint16_t remote_port{41001U}; |   static constexpr std::uint16_t remote_port{41001U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| struct remote_winfsp_to_linux final { | struct remote_winfsp_to_linux final { | ||||||
| @@ -111,7 +111,7 @@ struct remote_winfsp_to_linux final { | |||||||
|   static constexpr provider_type type2{provider_type::unknown}; |   static constexpr provider_type type2{provider_type::unknown}; | ||||||
|   static constexpr std::uint16_t remote_port{41002U}; |   static constexpr std::uint16_t remote_port{41002U}; | ||||||
|   static constexpr bool force_legacy_encryption{false}; |   static constexpr bool force_legacy_encryption{false}; | ||||||
|   static constexpr std::string encryption_token{""}; |   static constexpr std::string_view encryption_token{""}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| template <typename provider_t> class winfsp_test : public ::testing::Test { | template <typename provider_t> class winfsp_test : public ::testing::Test { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user