File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
crates/flagd/src/resolver Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,9 @@ pub struct RpcResolver {
9292
9393impl RpcResolver {
9494 #[ instrument( skip( options) ) ]
95- pub async fn new ( options : & FlagdOptions ) -> Result < Self , Box < dyn std:: error:: Error > > {
95+ pub async fn new (
96+ options : & FlagdOptions ,
97+ ) -> Result < Self , Box < dyn std:: error:: Error + Send + Sync > > {
9698 debug ! ( "initializing RPC resolver connection to {}" , options. host) ;
9799
98100 let mut retry_delay = Duration :: from_millis ( options. retry_backoff_ms as u64 ) ;
@@ -131,7 +133,7 @@ impl RpcResolver {
131133
132134 async fn establish_connection (
133135 options : & FlagdOptions ,
134- ) -> Result < ClientType , Box < dyn std:: error:: Error > > {
136+ ) -> Result < ClientType , Box < dyn std:: error:: Error + Send + Sync > > {
135137 if let Some ( socket_path) = & options. socket_path {
136138 debug ! ( "Attempting Unix socket connection to: {}" , socket_path) ;
137139 let socket_path = socket_path. clone ( ) ;
You can’t perform that action at this time.
0 commit comments