File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ Downstairs Controller (debugging only) (client: dsc-client)
4949
5050Management Gateway Service (client: gateway-client)
5151 consumed by: dpd (dendrite/dpd) via 1 path
52+ consumed by: lldpd (lldp/lldpd) via 1 path
5253 consumed by: mgd (maghemite/mgd) via 1 path
5354 consumed by: omicron-nexus (omicron/nexus) via 4 paths
5455 consumed by: omicron-sled-agent (omicron/sled-agent) via 1 path
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ termination: Exited(2)
1717stdout:
1818---------------------------------------------
1919stderr:
20- error: invalid value 'junk' for '--db-url <DB_URL>': invalid connection string: unexpected EOF
20+ error: invalid value 'junk' for '--db-url <DB_URL>': invalid connection string
2121
2222For more information, try '--help'.
2323=============================================
Original file line number Diff line number Diff line change @@ -111,13 +111,17 @@ mod test {
111111 // tokio_postgres::config::Config parser to include in the error
112112 // message.
113113 let error = "foo" . parse :: < PostgresConfigWithUrl > ( ) . unwrap_err ( ) ;
114- assert ! ( error. to_string( ) . contains( "unexpected EOF" ) ) ;
114+ assert ! (
115+ error. to_string( ) . contains( "invalid connection string" ) ,
116+ "'{error}' does not contain 'invalid connection string'"
117+ ) ;
115118 "http://127.0.0.1:1234" . parse :: < PostgresConfigWithUrl > ( ) . unwrap_err ( ) ;
116119 let error = "postgresql://example.com?sslmode=not-a-real-ssl-mode"
117120 . parse :: < PostgresConfigWithUrl > ( )
118121 . unwrap_err ( ) ;
119122 assert ! (
120- error. to_string( ) . contains( "invalid value for option `sslmode`" )
123+ error. to_string( ) . contains( "invalid connection string" ) ,
124+ "'{error}' does not contain 'invalid connection string'"
121125 ) ;
122126 }
123127
You can’t perform that action at this time.
0 commit comments