@@ -89,8 +89,9 @@ func main() {
8989 }
9090
9191 rootFSMap := repConfig .PreloadedRootFS .StackPathMap ()
92+ sidecarRootFSPath := repConfig .SidecarRootFSPath
9293
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 )
9495 if err != nil {
9596 logger .Error ("failed-to-initialize-executor" , err )
9697 os .Exit (1 )
@@ -135,7 +136,7 @@ func main() {
135136 )
136137
137138 requestTypes := []string {
138- "State" , "ContainerMetrics" , "Perform" , "Reset" , "UpdateLRPInstance" , "StopLRPInstance" , "CancelTask" , //over https only
139+ "State" , "ContainerMetrics" , "Perform" , "Reset" , "UpdateLRPInstance" , "StopLRPInstance" , "CancelTask" , // over https only
139140 }
140141 requestMetrics := helpers .NewRequestMetricsNotifier (logger , clock , metronClient , time .Duration (repConfig .ReportInterval ), requestTypes )
141142 httpServer := initializeServer (auctionCellRep , executorClient , evacuatable , requestMetrics , logger , repConfig , false )
@@ -271,7 +272,6 @@ func initializeServer(
271272 handlers := handlers .New (auctionCellRep , auctionCellRep , executorClient , evacuatable , requestMetrics , logger , networkAccessible )
272273 routes := rep .NewRoutes (networkAccessible )
273274 router , err := rata .NewRouter (routes , handlers )
274-
275275 if err != nil {
276276 logger .Fatal ("failed-to-construct-router" , err )
277277 }
0 commit comments