File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
postgresql_archive/src/hasher Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -73,19 +73,17 @@ impl Default for HasherRegistry {
7373 // The zonky maven central releases prior to version 13.2.0 only provide MD5/SHA-1 hashes.
7474 registry. register (
7575 |url, extension| {
76- Ok (
77- url. contains ( "io/zonky/test/postgres/embedded-postgres-binaries" )
78- && extension == "sha1" ,
79- )
76+ Ok ( url. contains ( "zonky" )
77+ && url. contains ( "embedded-postgres-binaries" )
78+ && extension == "sha1" )
8079 } ,
8180 sha1:: hash,
8281 ) ;
8382 registry. register (
8483 |url, extension| {
85- Ok (
86- url. contains ( "io/zonky/test/postgres/embedded-postgres-binaries" )
87- && extension == "sha512" ,
88- )
84+ Ok ( url. contains ( "zonky" )
85+ && url. contains ( "embedded-postgres-binaries" )
86+ && extension == "sha512" )
8987 } ,
9088 sha2_512:: hash,
9189 ) ;
You can’t perform that action at this time.
0 commit comments