File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,6 @@ pub fn routes(
39
39
. and ( auth_filter ( data. clone ( ) , TokenType :: Agent ) )
40
40
. map ( endpoint_config) ;
41
41
42
- // Assume agents that do not POST their capabilities to `/config` are Linux agents.
43
- let config_old = warp:: get2 ( )
44
- . and ( warp:: path ( "config" ) )
45
- . and ( warp:: path:: end ( ) )
46
- . and ( data_filter. clone ( ) )
47
- . and ( auth_filter ( data. clone ( ) , TokenType :: Agent ) )
48
- . map ( |data, auth| endpoint_config ( Capabilities :: new ( & [ "linux" ] ) , data, auth) ) ;
49
-
50
42
let next_experiment = warp:: get2 ( )
51
43
. and ( warp:: path ( "next-experiment" ) )
52
44
. and ( warp:: path:: end ( ) )
@@ -81,8 +73,6 @@ pub fn routes(
81
73
warp:: any ( )
82
74
. and (
83
75
config
84
- . or ( config_old)
85
- . unify ( )
86
76
. or ( next_experiment)
87
77
. unify ( )
88
78
. or ( record_progress)
You can’t perform that action at this time.
0 commit comments