Commit 74fbd78 1 parent 05fbfa6 commit 74fbd78 Copy full SHA for 74fbd78
File tree 1 file changed +3
-3
lines changed
src/command/dev/next/router/config
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ impl<'a> RouterConfigParser<'a> {
99
99
. and_then ( |path| path. as_str ( ) )
100
100
// See https://www.apollographql.com/docs/graphos/routing/self-hosted/health-checks for
101
101
// defaults
102
- . unwrap_or ( "/ health" ) ;
102
+ . unwrap_or ( "health" ) ;
103
103
104
104
let mut health_check_endpoint = addr_and_port. to_string ( ) ;
105
105
health_check_endpoint. push_str ( path) ;
@@ -161,8 +161,8 @@ health_check:
161
161
) ;
162
162
let config_yaml = serde_yaml:: from_str ( & config_yaml_str) ?;
163
163
let router_config = RouterConfigParser { yaml : & config_yaml } ;
164
- let health_check = router_config. health_check_endpoint ( ) ;
165
- assert_that ! ( health_check. is_ok ( ) ) . is_equal_to ( is_health_check_enabled) ;
164
+ let health_check = router_config. health_check_enabled ( ) ;
165
+ assert_that ! ( health_check) . is_equal_to ( is_health_check_enabled) ;
166
166
Ok ( ( ) )
167
167
}
168
168
You can’t perform that action at this time.
0 commit comments