@@ -89,8 +89,9 @@ func main() {
89
89
}
90
90
91
91
rootFSMap := repConfig .PreloadedRootFS .StackPathMap ()
92
+ sidecarRootFSPath := repConfig .SidecarRootFSPath
92
93
93
- executorClient , containerMetricsProvider , executorMembers , err := executorinit .Initialize (logger , repConfig .ExecutorConfig , repConfig .CellID , repConfig .Zone , rootFSMap , metronClient , clock )
94
+ executorClient , containerMetricsProvider , executorMembers , err := executorinit .Initialize (logger , repConfig .ExecutorConfig , repConfig .CellID , repConfig .Zone , rootFSMap , sidecarRootFSPath , metronClient , clock )
94
95
if err != nil {
95
96
logger .Error ("failed-to-initialize-executor" , err )
96
97
os .Exit (1 )
@@ -135,7 +136,7 @@ func main() {
135
136
)
136
137
137
138
requestTypes := []string {
138
- "State" , "ContainerMetrics" , "Perform" , "Reset" , "UpdateLRPInstance" , "StopLRPInstance" , "CancelTask" , //over https only
139
+ "State" , "ContainerMetrics" , "Perform" , "Reset" , "UpdateLRPInstance" , "StopLRPInstance" , "CancelTask" , // over https only
139
140
}
140
141
requestMetrics := helpers .NewRequestMetricsNotifier (logger , clock , metronClient , time .Duration (repConfig .ReportInterval ), requestTypes )
141
142
httpServer := initializeServer (auctionCellRep , executorClient , evacuatable , requestMetrics , logger , repConfig , false )
@@ -271,7 +272,6 @@ func initializeServer(
271
272
handlers := handlers .New (auctionCellRep , auctionCellRep , executorClient , evacuatable , requestMetrics , logger , networkAccessible )
272
273
routes := rep .NewRoutes (networkAccessible )
273
274
router , err := rata .NewRouter (routes , handlers )
274
-
275
275
if err != nil {
276
276
logger .Fatal ("failed-to-construct-router" , err )
277
277
}
0 commit comments